xref: /web-php/releases/5_2_4.php (revision f1cb7e74)
1<?php
2$_SERVER['BASE_PAGE'] = 'releases/5_2_4.php';
3include_once __DIR__ . '/../include/prepend.inc';
4site_header("PHP 5.2.4 Release Announcement");
5?>
6
7<h1>PHP 5.2.4 Release Announcement</h1>
8<p>
9The PHP development team would like to announce the immediate
10availability of PHP 5.2.4. This release focuses on improving the stability
11of the PHP 5.2.X branch with over 120 various bug fixes in
12addition to resolving several low priority security bugs. All
13users of PHP are encouraged to upgrade to this release.
14</p>
15
16<p>
17<b>Security Enhancements and Fixes in PHP 5.2.4:</b>
18</p>
19<ul>
20	<li>Fixed a floating point exception inside wordwrap() (Reported by Mattias Bengtsson)</li>
21	<li>Fixed several integer overflows inside the GD extension (Reported by Mattias Bengtsson)</li>
22	<li>Fixed size calculation in chunk_split() (Reported by Gerhard Wagner)</li>
23	<li>Fixed integer overflow in str[c]spn(). (Reported by Mattias Bengtsson)</li>
24	<li>Fixed money_format() not to accept multiple %i or %n tokens. (Reported by Stanislav Malyshev)</li>
25	<li>Fixed zend_alter_ini_entry() memory_limit interruption vulnerability. (Reported by Stefan Esser)</li>
26	<li>Fixed INFILE LOCAL option handling with MySQL extensions not to be allowed when open_basedir or safe_mode is active. (Reported by Mattias Bengtsson)</li>
27	<li>Fixed session.save_path and error_log values to be checked against open_basedir and safe_mode (CVE-2007-3378) (Reported by Maksymilian Arciemowicz)</li>
28	<li>Fixed a possible invalid read in glob() win32 implementation (CVE-2007-3806) (Reported by shinnai)</li>
29	<li>Fixed a possible buffer overflow in php_openssl_make_REQ (Reported by zatanzlatan at hotbrev dot com)</li>
30	<li>Fixed an open_basedir bypass inside glob() function (Reported by dr at peytz dot dk)</li>
31	<li>Fixed a possible open_basedir bypass inside session extension when the session file is a symlink (Reported by c dot i dot morris at durham dot ac dot uk)</li>
32	<li>Improved fix for MOPB-03-2007.</li>
33	<li>Corrected fix for CVE-2007-2872.</li>
34</ul>
35
36<p>
37<b>Key enhancements in PHP 5.2.4 include:</b>
38</p>
39<ul>
40	<li>Upgraded PCRE to version 7.2</li>
41	<li>Added persistent connection status checker to pdo_pgsql.</li>
42	<li>Fixed oci8 and PDO_OCI extensions to allow configuring with Oracle 11g client libraries.</li>
43	<li>Fixed bug #41831 (pdo_sqlite prepared statements convert resources to strings).</li>
44	<li>Fixed bug #41770 (SSL: fatal protocol error due to buffer issues)</li>
45	<li>Fixed bug #41713 (Persistent memory consumption on win32 since 5.2)</li>
46
47	<li>Over 120 bug fixes.</li>
48</ul>
49
50<p>
51For users upgrading from PHP 5.0 and PHP 5.1, an upgrade guide is available
52<a href="/UPDATE_5_2.txt">here</a>, detailing the changes between those releases
53and PHP 5.2.4.
54</p>
55
56<p>
57 For a full list of changes in PHP 5.2.4, see the <a href="/ChangeLog-5.php#5.2.4">ChangeLog</a>.
58</p>
59
60
61<?php site_footer(); ?>
62