Home » Releases » 5.6 » 5.6.40 »

PHP 5.6.8

PHP 5.6 is no longer officially supported by the PHP project.

Official support refers to that provided direct by the PHP Project.

If you install PHP via third-party packages, support timelines may be different. Please read the Release Support Policy for more information.

The latest release of PHP 5.6 is 5.6.40.

Source Code

  • PHP 5.6.8 (tar.bz2)

    • sha256: 0af0045745d61eeb74a3ea744529a2481b27cb689da720e6c0250675043724e4
  • PHP 5.6.8 (tar.gz)

    • sha256: c5b1c75c5671c239473eb611129f33ac432a55a1c341990b70009a2aa3b8dbc3
  • PHP 5.6.8 (tar.xz)

    • sha256: 4c417387b88e100ca306adeda8051eb9fad93dae8da983f962dabf91a14b2b7b

Change Log

  • core

    • Fixed bug #66609 (php crashes with __get() and ++ operator in some cases).
      Dmitry
      Laruence
    • Fixed bug #68021 (get_browser() browser_name_regex returns non-utf-8 characters).
      Tjerk
    • Fixed bug #68917 (parse_url fails on some partial urls).
      Wei Dai
    • Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options).
      Anatol Belski
    • Additional fix for bug #69152 (Type confusion vulnerability in exception::getTraceAsString).
      Stas
    • Fixed bug #69210 (serialize function return corrupted data when sleep has non-string values).
      Juan Basso
    • Fixed bug #69212 (Leaking VIA_HANDLER func when exception thrown in __call/... arg passing).
      Nikita
    • Fixed bug #69221 (Segmentation fault when using a generator in combination with an Iterator).
      Nikita
    • Fixed bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability).
      Stas
    • Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions).
      Stas
  • apache2handler

    • Fixed bug #69218 (potential remote code execution with apache 2.4 apache2handler).
      Gerrit Venema
  • curl

    • Implemented FR#69278 (HTTP2 support).
      Masaki Kagaya
    • Fixed bug #68739 (Missing break / control flow).
      Laruence
    • Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER).
      Laruence
  • date

    • Fixed bug #69336 (Issues with "last day of <monthname>").
      Derick Rethans
  • enchant

    • Fixed bug #65406 (Enchant broker plugins are in the wrong place in windows builds).
      Anatol
  • ereg

    • Fixed bug #68740 (NULL Pointer Dereference).
      Laruence
  • fileinfo

    • Fixed bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault).
      Anatol Belski
  • filter

    • Fixed bug #69202 (FILTER_FLAG_STRIP_BACKTICK ignored unless other flags are used).
      Jeff Welch
    • Fixed bug #69203 (FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127).
      Jeff Welch
  • mbstring

    • Fixed bug #68846 (False detection of CJK Unified Ideographs Extension E).
      Masaki Kagaya
  • opcache

    • Fixed bug #69297 (function_exists strange behavior with OPCache on disabled function).
      Laruence
    • Fixed bug #69281 (opcache_is_script_cached no longer works).
      danack
    • Fixed bug #68677 (Use After Free). (CVE-2015-1351)
      Laruence
  • openssl

    • Fixed bugs #68853, #65137 (Buffered crypto stream data breaks IO polling in stream_select() contexts) (Chris Wright)
    • Fixed bug #69197 (openssl_pkcs7_sign handles default value incorrectly) (Daniel Lowrey)
    • Fixed bug #69215 (Crypto servers should send client CA list) (Daniel Lowrey)
    • Add a check for RAND_egd to allow compiling against LibreSSL (Leigh)
  • phar

    • Fixed bug #64343 (PharData::extractTo fails for tarball created by BSD tar).
      Mike
    • Fixed bug #64931 (phar_add_file is too restrictive on filename).
      Mike
    • Fixed bug #65467 (Call to undefined method cli_arg_typ_string).
      Mike
    • Fixed bug #67761 (Phar::mapPhar fails for Phars inside a path containing ".tar").
      Mike
    • Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar).
      Stas
    • Fixed bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode).
      Stas
  • postgres

    • Fixed bug #68741 (Null pointer dereference). (CVE-2015-1352)
      Laruence
  • soap

    • Fixed bug #69152 (Type Confusion Infoleak Vulnerability in unserialize() with SoapFault).
      Dmitry
    • Fixed bug #69293 (NEW segfault when using SoapClient::__setSoapHeader (bisected, regression)).
      Laruence
  • spl

    • Fixed bug #69227 (Use after free in zval_scan caused by spl_object_storage_get_gc).
      adam dot scarr at 99designs dot com
  • sqlite3

    • Fixed bug #68760 (SQLITE segfaults if custom collator throws an exception).
      Dan Ackroyd
    • Fixed bug #69287 (Upgrade bundled libsqlite to 3.8.8.3).
      Anatol
    • Fixed bug #66550 (SQLite prepared statement use-after-free).
      Sean Heelan

PHP 5.6


  Represents a security release