xref: /web-php/releases/5_2_7.php (revision f1cb7e74)
1<?php
2$_SERVER['BASE_PAGE'] = 'releases/5_2_7.php';
3include_once __DIR__ . '/../include/prepend.inc';
4site_header("PHP 5.2.7 Release Announcement");
5?>
6
7<h1>PHP 5.2.7 Release Announcement</h1>
8<p>
9The PHP development team would like to announce the immediate
10availability of PHP 5.2.7. This release focuses on improving the stability of
11the PHP 5.2.x branch with over 120 bug fixes, several of which are security related.
12All users of PHP are encouraged to upgrade to this release.
13</p>
14
15<p>
16<b>Security Enhancements and Fixes in PHP 5.2.7:</b>
17</p>
18<ul>
19	<li>Upgraded PCRE to version 7.8 (Fixes CVE-2008-2371)</li>
20	<li>Fixed missing initialization of BG(page_uid) and BG(page_gid), reported by Maksymilian Arciemowicz.</li>
21	<li>Fixed incorrect php_value order for Apache configuration, reported by Maksymilian Arciemowicz.</li>
22	<li>Fixed a crash inside gd with invalid fonts (Fixes CVE-2008-3658).</li>
23	<li>Fixed a possible overflow inside memnstr (Fixes CVE-2008-3659).</li>
24	<li>Fixed security issues detailed in CVE-2008-2665 and CVE-2008-2666.</li>
25	<li>Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots)).(Fixes CVE-2008-3660)</li>
26	<li>Fixed bug #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer overflow). (Fixes CVE-2008-2829)</li>
27</ul>
28
29<p>
30<b>Key enhancements in PHP 5.2.7 include:</b>
31</p>
32<ul>
33	<li>Fixed several memory leaks inside the readline and sqlite extensions</li>
34	<li>A number of corrections relating to date parsing inside the date extension</li>
35	<li>Fixed bugs relating to data retrieval in the PDO extension</li>
36	<li>A series of crashes in various areas of code were resolved</li>
37	<li>Several corrections were made to the strip_tags() function in terms of < and &lt;?XML handling</li>
38	<li>A number of bugs were fixed in extract() function when EXTR_REFS flag is being used</li>
39	<li>Added the ability to log PHP errors to the SAPI (Ex. Apache log) logging facility</li>
40	<li>Over 170 bug fixes.</li></li>
41</ul>
42
43<p>
44For users upgrading from PHP 5.0 and PHP 5.1, an upgrade guide is available
45<a href="/UPDATE_5_2.txt">here</a>, detailing the changes between those releases
46and PHP 5.2.7.
47</p>
48
49<p>
50 For a full list of changes in PHP 5.2.7, see the <a href="/ChangeLog-5.php#5.2.7">ChangeLog</a>.
51</p>
52
53
54<?php site_footer(); ?>
55