PHP Release 5.2.15


PHP 5.2.15 Release Announcement

The PHP development team would like to announce the immediate availability of PHP 5.2.15. This release marks the end of support for PHP 5.2. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3.

This release focuses on improving the security and stability of the PHP 5.2.x branch with a small number, of predominatly security fixes.

Security Enhancements and Fixes in PHP 5.2.15:

  • Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
  • Fixed crash in zip extract method (possible CWE-170).
  • Fixed a possible double free in imap extension.
  • Fixed possible flaw in open_basedir (CVE-2010-3436).
  • Fixed NULL pointer dereference in ZipArchive::getArchiveComment. (CVE-2010-3709).
  • Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large amount of data).

Key enhancements in PHP 5.2.15 include:

  • Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4).
  • Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy with SoapClient object).

To prepare for upgrading to PHP 5.3, now that PHP 5.2's support ended, a migration guide available on http://php.net/migration53, details the changes between PHP 5.2 and PHP 5.3.

For a full list of changes in PHP 5.2.15 see the ChangeLog at http://www.php.net/ChangeLog-5.php#5.2.15.

Source Code
Change Logs
fixed null pointer dereference in ziparchive
  • Fixed possible crash in mssql_fetch_batch(). (Kalle) (CVE-2010-3709).
  • Fixed bug #53492 (fix crash if anti-aliasing steps are invalid).
  • Fixed bug #53323 (pdo_firebird getAttribute() crash).
  • Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large amount of data). (CVE-2010-3709).
  • Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early).
  • Fixed bug #52772 (var_dump() doesn't check for the existence of get_class_name before calling it).
  • Fixed bug #52546 (pdo_dblib segmentation fault when iterating MONEY values).
  • Fixed bug #52436 (Compile error if systems do not have stdint.h)
  • Fixed bug #52390 (mysqli_report() should be per-request setting).
  • Fixed bug #51008 (Zend/tests/bug45877.phpt fails).
  • Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4).
  • Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy with SoapClient object).
To Top