1<?php 2$_SERVER['BASE_PAGE'] = 'releases/5_2_12.php'; 3include_once __DIR__ . '/../include/prepend.inc'; 4site_header("PHP 5.2.12 Release Announcement"); 5?> 6 7<h1>PHP 5.2.12 Release Announcement</h1> 8<p> 9The PHP development team would like to announce the immediate 10availability of PHP 5.2.12. This release focuses on improving the stability of 11the PHP 5.2.x branch with over 60 bug fixes, some of which are security related. 12All users of PHP 5.2 are encouraged to upgrade to this release. 13</p> 14 15<p> 16<b>Security Enhancements and Fixes in PHP 5.2.12:</b> 17</p> 18<ul> 19 <li>Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak. (CVE-2009-3557, Rasmus)</li> 20 <li>Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz Stachowiak. (CVE-2009-3558, Rasmus)</li> 21 <li>Added "max_file_uploads" INI directive, which can be set to limit the number of file uploads per-request to 20 by default, to prevent possible DOS via temporary file exhaustion, identified by Bogdan Calin. (CVE-2009-4017, Ilia)</li> 22 <li>Added protection for $_SESSION from interrupt corruption and improved "session.save_path" check, identified by Stefan Esser. (CVE-2009-4143, Stas)</li> 23 <li>Fixed bug #49785 (insufficient input string validation of htmlspecialchars()). (CVE-2009-4142, Moriyoshi, hello at iwamot dot com)</li> 24</ul> 25 26<p> 27<b>Key enhancements in PHP 5.2.12 include:</b> 28</p> 29<ul> 30 <li>Fixed unnecessary invocation of setitimer when timeouts have been disabled. (Arvind Srinivasan)</li> 31 <li>Fixed crash in com_print_typeinfo when an invalid typelib is given. (Pierre)</li> 32 <li>Fixed crash in SQLiteDatabase::ArrayQuery() and SQLiteDatabase::SingleQuery() when calling using Reflection. (Felipe)</li> 33 <li>Fixed crash when instantiating PDORow and PDOStatement through Reflection. (Felipe)</li> 34 <li>Fixed memory leak in openssl_pkcs12_export_to_file(). (Felipe)</li> 35 <li>Fixed bug #50207 (segmentation fault when concatenating very large strings on 64bit linux). (Ilia)</li> 36 <li>Fixed bug #50162 (Memory leak when fetching timestamp column from Oracle database). (Felipe)</li> 37 <li>Fixed bug #50006 (Segfault caused by uksort()). (Felipe)</li> 38 <li>Fixed bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault). (Felipe)</li> 39 <li>Fixed bug #49174 (crash when extending PDOStatement and trying to set queryString property). (Felipe) </li> 40 <li>Fixed bug #49098 (mysqli segfault on error). (Rasmus)</li> 41 42 <li>Over 50 other bug fixes.</li> 43</ul> 44 45<p> 46For users upgrading from PHP 5.0 and PHP 5.1, an upgrade guide is available 47<a href="/UPDATE_5_2.txt">here</a>, detailing the changes between those releases 48and PHP 5.2.12. 49</p> 50 51<p> 52 For a full list of changes in PHP 5.2.12, see the <a href="/ChangeLog-5.php#5.2.12">ChangeLog</a>. 53</p> 54 55<?php site_footer(); ?> 56