Skip to content

Commit 22334a6

Browse files
Announce PHP 8.5.6
1 parent 9166b55 commit 22334a6

7 files changed

Lines changed: 197 additions & 10 deletions

File tree

ChangeLog-8.php

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,119 @@
99

1010
<a id="PHP_8_5"></a>
1111

12+
<section class="version" id="8.5.6"><!-- {{{ 8.5.6 -->
13+
<h3>Version 8.5.6</h3>
14+
<b><?php release_date('07-May-2026'); ?></b>
15+
<ul><li>Core:
16+
<ul>
17+
<li>Fixed bug <?php githubissuel('php/php-src', 19983); ?> (GC assertion failure with fibers, generators and destructors).</li>
18+
<li>Fixed ZEND_API mismatch on zend_ce_closure forward decl for Windows+Clang.</li>
19+
<li>Fixed bug <?php githubissuel('php/php-src', 21504); ?> (Incorrect RC-handling for ZEND_EXT_STMT op1).</li>
20+
<li>Fixed bug <?php githubissuel('php/php-src', 21478); ?> (Forward property operations to real instance for initialized lazy proxies).</li>
21+
<li>Fixed bug <?php githubissuel('php/php-src', 21605); ?> (Missing addref for Countable::count()).</li>
22+
<li>Fixed bug <?php githubissuel('php/php-src', 21699); ?> (Assertion failure in shutdown_executor when resolving self::/parent::/static:: callables if the error handler throws).</li>
23+
<li>Fixed bug <?php githubissuel('php/php-src', 21603); ?> (Missing addref for __unset).</li>
24+
<li>Fixed bug <?php githubissuel('php/php-src', 21760); ?> (Trait with class constant name conflict against enum case causes SEGV).</li>
25+
</ul></li>
26+
<li>CLI:
27+
<ul>
28+
<li>Fixed bug <?php githubissuel('php/php-src', 21754); ?> (`--rf` command line option with a method triggers ext/reflection deprecation warnings).</li>
29+
</ul></li>
30+
<li>Curl:
31+
<ul>
32+
<li>Add support for brotli and zstd on Windows.</li>
33+
</ul></li>
34+
<li>DOM:
35+
<ul>
36+
<li>Fixed <?php githubsecurityl('php/php-src', '4jhr-8w89-j733'); ?> and <?php githubissuel('php/php-src', 21566); ?> (Dom\XMLDocument::C14N() emits duplicate xmlns declarations after setAttributeNS()). (CVE-2026-7263)</li>
37+
</ul></li>
38+
<li>FPM:
39+
<ul>
40+
<li>Fixed <?php githubsecurityl('php/php-src', '7qg2-v9fj-4mwv'); ?> (XSS within status endpoint). (CVE-2026-6735)</li>
41+
</ul></li>
42+
<li>Iconv:
43+
<ul>
44+
<li>Fixed bug <?php githubissuel('php/php-src', 17399); ?> (iconv memory leak on bailout).</li>
45+
</ul></li>
46+
<li>Lexbor:
47+
<ul>
48+
<li>Upgrade to lexbor v2.7.0.</li>
49+
</ul></li>
50+
<li>MBString:
51+
<ul>
52+
<li>Fixed <?php githubsecurityl('php/php-src', 'wm6j-2649-pv75'); ?> (Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()). (CVE-2026-7259)</li>
53+
<li>Fixed <?php githubsecurityl('php/php-src', '74r9-qxhc-fx53'); ?> (Out-of-bounds access in mbfl_name2encoding_ex()). (CVE-2026-6104)</li>
54+
</ul></li>
55+
<li>Opcache:
56+
<ul>
57+
<li>Fixed bug <?php githubissuel('php/php-src', 21158); ?> (JIT: Assertion jit-&gt;ra[var].flags &amp; (1&lt;&lt;0) failed in zend_jit_use_reg).</li>
58+
<li>Fixed bug <?php githubissuel('php/php-src', 21593); ?> (Borked function JIT JMPNZ smart branch).</li>
59+
<li>Fixed bug <?php githubissuel('php/php-src', 21460); ?> (COND optimization regression).</li>
60+
<li>Fixed faulty returns out of zend_try block in zend_jit_trace().</li>
61+
</ul></li>
62+
<li>OpenSSL:
63+
<ul>
64+
<li>Fix memory leak regression in openssl_pbkdf2().</li>
65+
<li>Fix a bunch of memory leaks and crashes on edge cases.</li>
66+
</ul></li>
67+
<li>PDO_Firebird:
68+
<ul>
69+
<li>Fixed <?php githubsecurityl('php/php-src', 'w476-322c-wpvm'); ?> (SQL injection via NUL bytes in quoted strings). (CVE-2025-14179)</li>
70+
</ul></li>
71+
<li>PDO_PGSQL:
72+
<ul>
73+
<li>Fixed bug <?php githubissuel('php/php-src', 21683); ?> (pdo_pgsql throws with ATTR_PREFETCH=0 on empty result set).</li>
74+
</ul></li>
75+
<li>Phar:
76+
<ul>
77+
<li>Restore is_link handler in phar_intercept_functions_shutdown.</li>
78+
<li>Fixed bug <?php githubissuel('php/php-src', 21797); ?> (phar: NULL dereference in Phar::webPhar() when SCRIPT_NAME is absent from SAPI environment).</li>
79+
<li>Fix memory leak in Phar::offsetGet().</li>
80+
<li>Fix memory leak in phar_add_file().</li>
81+
<li>Fixed bug <?php githubissuel('php/php-src', 21799); ?> (phar: propagate phar_stream_flush return value from phar_stream_close).</li>
82+
<li>Fix memory leak in phar_verify_signature() when md_ctx is invalid.</li>
83+
</ul></li>
84+
<li>Random:
85+
<ul>
86+
<li>Fixed bug <?php githubissuel('php/php-src', 21731); ?> (Random\Engine\Xoshiro256StarStar::__unserialize() accepts all-zero state).</li>
87+
</ul></li>
88+
<li>Session:
89+
<ul>
90+
<li>Fixed memory leak when session GC callback return a refcounted value.</li>
91+
</ul></li>
92+
<li>SOAP:
93+
<ul>
94+
<li>Fixed <?php githubsecurityl('php/php-src', '85c2-q967-79q5'); ?> (Stale SOAP_GLOBAL(ref_map) pointer with Apache Map). (CVE-2026-6722)</li>
95+
<li>Fixed <?php githubsecurityl('php/php-src', 'm33r-qmcv-p97q'); ?> (Use-after-free after header parsing failure with SOAP_PERSISTENCE_SESSION). (CVE-2026-7261)</li>
96+
<li>Fixed <?php githubsecurityl('php/php-src', 'hmxp-6pc4-f3vv'); ?> (Broken Apache map value NULL check). (CVE-2026-7262)</li>
97+
</ul></li>
98+
<li>SPL:
99+
<ul>
100+
<li>Fixed bug <?php githubissuel('php/php-src', 21499); ?> (RecursiveArrayIterator getChildren UAF after parent free).</li>
101+
<li>Fix concurrent iteration and deletion issues in SplObjectStorage.</li>
102+
</ul></li>
103+
<li>Sqlite3:
104+
<ul>
105+
<li>Fixed wrong free list comparator pointer type.</li>
106+
</ul></li>
107+
<li>Standard:
108+
<ul>
109+
<li>Fixed <?php githubsecurityl('php/php-src', '96wq-48vp-hh57'); ?> (Signed integer overflow of char array offset). (CVE-2026-7568)</li>
110+
<li>Fixed <?php githubsecurityl('php/php-src', 'm8rr-4c36-8gq4'); ?> (Consistently pass unsigned char to ctype.h functions). (CVE-2026-7258)</li>
111+
</ul></li>
112+
<li>Streams:
113+
<ul>
114+
<li>Fixed bug <?php githubissuel('php/php-src', 21468); ?> (Segfault in file_get_contents w/ a https URL and a proxy set).</li>
115+
</ul></li>
116+
<li>URI:
117+
<ul>
118+
<li>Fixed CVE-2026-42371 (uriparser before 1.0.1 has numeric truncation in text range comparison). (CVE-2026-42371)</li>
119+
</ul></li>
120+
</ul>
121+
<!-- }}} --></section>
122+
123+
124+
12125
<section class="version" id="8.5.5"><!-- {{{ 8.5.5 -->
13126
<h3>Version 8.5.5</h3>
14127
<b><?php release_date('09-Apr-2026'); ?></b>

archive/archive.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<uri>http://php.net/contact</uri>
1010
<email>php-webmaster@lists.php.net</email>
1111
</author>
12+
<xi:include href="entries/2026-05-07-4.xml"/>
1213
<xi:include href="entries/2026-05-07-3.xml"/>
1314
<xi:include href="entries/2026-05-07-2.xml"/>
1415
<xi:include href="entries/2026-05-07-1.xml"/>

archive/entries/2026-05-07-4.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<entry xmlns="http://www.w3.org/2005/Atom">
3+
<title>PHP 8.5.6 Released!</title>
4+
<id>https://www.php.net/archive/2026.php#2026-05-07-4</id>
5+
<published>2026-05-07T17:59:54+00:00</published>
6+
<updated>2026-05-07T17:59:54+00:00</updated>
7+
<link href="https://www.php.net/index.php#2026-05-07-4" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2026.php#2026-05-07-4" rel="via" type="text/html"/>
9+
<category term="releases" label="New PHP release"/>
10+
<category term="frontpage" label="PHP.net frontpage news"/>
11+
<content type="xhtml">
12+
<div xmlns="http://www.w3.org/1999/xhtml"><p>The PHP development team announces the immediate availability of PHP 8.5.6. This is a security release.</p>
13+
14+
<p>All PHP 8.5 users are encouraged to upgrade to this version.</p>
15+
16+
<p>For source downloads of PHP 8.5.6 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
17+
Windows source and binaries can also be found <a href="https://www.php.net/downloads.php?os=windows&amp;version=8.5">there</a>.
18+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.5.6">ChangeLog</a>.
19+
</p> </div>
20+
</content>
21+
</entry>

include/release-qa.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@
8888
'active' => true,
8989
'release' => [
9090
'type' => 'RC',
91-
'number' => 3,
92-
'sha256_bz2' => '7084b65f8a37558950a657654d0cabda0778d9c3b49f1c79a16bf2c9611d109b',
93-
'sha256_gz' => '01e12f91a9c6924d42d208a1d97a32930562caa410f49f0caae62e07bfe014ff',
94-
'sha256_xz' => '5faeca2a67e766f897a51c7a93414706d168d75c862f86343f6c4658c318eee5',
91+
'number' => 0,
92+
'sha256_bz2' => '',
93+
'sha256_gz' => '',
94+
'sha256_xz' => '',
9595
'date' => '30 Apr 2026',
9696
'baseurl' => 'https://downloads.php.net/~daniels/',
9797
],

include/releases.inc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,42 @@
22
$OLDRELEASES = array (
33
8 =>
44
array (
5+
'8.5.5' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_5_5.php',
10+
),
11+
'tags' =>
12+
array (
13+
),
14+
'date' => '09 Apr 2026',
15+
'source' =>
16+
array (
17+
0 =>
18+
array (
19+
'filename' => 'php-8.5.5.tar.gz',
20+
'name' => 'PHP 8.5.5 (tar.gz)',
21+
'sha256' => '276279f637a875a514346b332bba6d8b06c036cf7979a858e5c55f72c4874884',
22+
'date' => '09 Apr 2026',
23+
),
24+
1 =>
25+
array (
26+
'filename' => 'php-8.5.5.tar.bz2',
27+
'name' => 'PHP 8.5.5 (tar.bz2)',
28+
'sha256' => 'ee262beff61c431965d1f97192854b36208adeac38983c3498bb3500ae87283c',
29+
'date' => '09 Apr 2026',
30+
),
31+
2 =>
32+
array (
33+
'filename' => 'php-8.5.5.tar.xz',
34+
'name' => 'PHP 8.5.5 (tar.xz)',
35+
'sha256' => '95bec382f4bd00570a8ef52a58ec04d8d9b9a90494781f1c106d1b274a3902f2',
36+
'date' => '09 Apr 2026',
37+
),
38+
),
39+
'museum' => false,
40+
),
541
'8.2.30' =>
642
array (
743
'announcement' =>

include/version.inc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ $RELEASES = (function () {
2020

2121
/* PHP 8.5 Release */
2222
$data['8.5'] = [
23-
'version' => '8.5.5',
24-
'date' => '09 Apr 2026',
25-
'tags' => [], // Set to ['security'] for security releases.
23+
'version' => '8.5.6',
24+
'date' => '07 May 2026',
25+
'tags' => ['security'], // Set to ['security'] for security releases.
2626
'sha256' => [
2727
// WARNING: Order of SHA256 entries here is DIFFERENT from the
2828
// order in the manifest
29-
'tar.gz' => '276279f637a875a514346b332bba6d8b06c036cf7979a858e5c55f72c4874884',
30-
'tar.bz2' => 'ee262beff61c431965d1f97192854b36208adeac38983c3498bb3500ae87283c',
31-
'tar.xz' => '95bec382f4bd00570a8ef52a58ec04d8d9b9a90494781f1c106d1b274a3902f2',
29+
'tar.gz' => '169aaa21c2834b38df8e39169f43bc5bea8d4059a816cfbc59be08fc2bae60cd',
30+
'tar.bz2' => '4457240f65f0c59a620920d66cdab1b12100a431e03ad9febe38b13a1b25957f',
31+
'tar.xz' => '826c600b7c6f956bd335558ca3bdbcab23b22126c1cc8d9348be2280a2204bb7',
3232
]
3333
];
3434

releases/8_5_6.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
$_SERVER['BASE_PAGE'] = 'releases/8_5_6.php';
3+
include_once __DIR__ . '/../include/prepend.inc';
4+
site_header('PHP 8.5.6 Release Announcement');
5+
?>
6+
<h1>PHP 8.5.6 Release Announcement</h1>
7+
8+
<p>The PHP development team announces the immediate availability of PHP 8.5.6. This is a security release.</p>
9+
10+
<p>All PHP 8.5 users are encouraged to upgrade to this version.</p>
11+
12+
<p>For source downloads of PHP 8.5.6 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
13+
Windows source and binaries can also be found <a href="https://www.php.net/downloads.php?os=windows&amp;version=8.5">there</a>.
14+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.5.6">ChangeLog</a>.
15+
</p>
16+
<?php site_footer();

0 commit comments

Comments
 (0)