Skip to content

Commit 0fa26a1

Browse files
committed
Announce PHP 8.5.1
1 parent 0dfb1e1 commit 0fa26a1

File tree

7 files changed

+177
-7
lines changed

7 files changed

+177
-7
lines changed

ChangeLog-8.php

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

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

12+
<section class="version" id="8.5.1"><!-- {{{ 8.5.1 -->
13+
<h3>Version 8.5.1</h3>
14+
<b><?php release_date('18-Dec-2025'); ?></b>
15+
<ul><li>Core:
16+
<ul>
17+
<li>Sync all boost.context files with release 1.86.0.</li>
18+
<li>Fixed bug <?php githubissuel('php/php-src', 20435); ?> (SensitiveParameter doesn't work for named argument passing to variadic parameter).</li>
19+
<li>Fixed bug <?php githubissuel('php/php-src', 20546); ?> (preserve_none attribute configure check on macOs issue).</li>
20+
<li>Fixed bug <?php githubissuel('php/php-src', 20286); ?> (use-after-destroy during userland stream_close()).</li>
21+
</ul></li>
22+
<li>Bz2:
23+
<ul>
24+
<li>Fix assertion failures resulting in crashes with stream filter object parameters.</li>
25+
</ul></li>
26+
<li>DOM:
27+
<ul>
28+
<li>Fix memory leak when edge case is hit when registering xpath callback.</li>
29+
<li>Fixed bug <?php githubissuel('php/php-src', 20395); ?> (querySelector and querySelectorAll requires elements in $selectors to be lowercase).</li>
30+
<li>Fix missing NUL byte check on C14NFile().</li>
31+
</ul></li>
32+
<li>Fibers:
33+
<ul>
34+
<li>Fixed bug <?php githubissuel('php/php-src', 20483); ?> (ASAN stack overflow with fiber.stack_size INI small value).</li>
35+
</ul></li>
36+
<li>Intl:
37+
<ul>
38+
<li>Fixed bug <?php githubissuel('php/php-src', 20426); ?> (Spoofchecker::setRestrictionLevel() error message suggests missing constants).</li>
39+
</ul></li>
40+
<li>Lexbor:
41+
<ul>
42+
<li>Fixed bug <?php githubissuel('php/php-src', 20501); ?> (\Uri\WhatWg\Url lose host after calling withPath() or withQuery()).</li>
43+
<li>Fixed bug <?php githubissuel('php/php-src', 20502); ?> (\Uri\WhatWg\Url crashes (SEGV) when parsing malformed URL due to Lexbor memory corruption).</li>
44+
</ul></li>
45+
<li>LibXML:
46+
<ul>
47+
<li>Fix some deprecations on newer libxml versions regarding input buffer/parser handling.</li>
48+
</ul></li>
49+
<li>MySQLnd:
50+
<ul>
51+
<li>Fixed bug <?php githubissuel('php/php-src', 20528); ?> (Regression breaks mysql connexion using an IPv6 address enclosed in square brackets).</li>
52+
</ul></li>
53+
<li>Opcache:
54+
<ul>
55+
<li>Fixed bug <?php githubissuel('php/php-src', 20329); ?> (opcache.file_cache broken with full interned string buffer).</li>
56+
</ul></li>
57+
<li>PDO:
58+
<ul>
59+
<li>Fixed bug <?php githubissuel('php/php-src', 20553); ?> (PDO::FETCH_CLASSTYPE ignores $constructorArgs in PHP 8.5.0).</li>
60+
<li>Fixed <?php githubsecurityl('php/php-src', '8xr5-qppj-gvwj'); ?> (PDO quoting result null deref). (CVE-2025-14180)</li>
61+
</ul></li>
62+
<li>Phar:
63+
<ul>
64+
<li>Fixed bug <?php githubissuel('php/php-src', 20442); ?> (Phar does not respect case-insensitiveness of __halt_compiler() when reading stub).</li>
65+
<li>Fix broken return value of fflush() for phar file entries.</li>
66+
<li>Fix assertion failure when fseeking a phar file out of bounds.</li>
67+
</ul></li>
68+
<li>PHPDBG:
69+
<ul>
70+
<li>Fixed ZPP type violation in phpdbg_get_executable() and phpdbg_end_oplog().</li>
71+
</ul></li>
72+
<li>SPL:
73+
<ul>
74+
<li>Fixed bug <?php githubissuel('php/php-src', 20614); ?> (SplFixedArray incorrectly handles references in deserialization).</li>
75+
</ul></li>
76+
<li>Standard:
77+
<ul>
78+
<li>Fix memory leak in array_diff() with custom type checks.</li>
79+
<li>Fixed bug <?php githubissuel('php/php-src', 20583); ?> (Stack overflow in http_build_query via deep structures).</li>
80+
<li>Fixed <?php githubsecurityl('php/php-src', 'www2-q4fc-65wf'); ?> (Null byte termination in dns_get_record()).</li>
81+
<li>Fixed <?php githubsecurityl('php/php-src', 'h96m-rvf9-jgm2'); ?> (Heap buffer overflow in array_merge()). (CVE-2025-14178)</li>
82+
<li>Fixed <?php githubsecurityl('php/php-src', '3237-qqm7-mfv7'); ?> (Information Leak of Memory in getimagesize). (CVE-2025-14177)</li>
83+
</ul></li>
84+
<li>URI:
85+
<ul>
86+
<li>Fixed bug <?php githubissuel('php/php-src', 20366); ?> (ext/uri incorrectly throws ValueError when encountering null byte).</li>
87+
<li>Fixed CVE-2025-67899 (uriparser through 0.9.9 allows unbounded recursion and stack consumption).</li>
88+
</ul></li>
89+
<li>XML:
90+
<ul>
91+
<li>Fixed bug <?php githubissuel('php/php-src', 20439); ?> (xml_set_default_handler() does not properly handle special characters in attributes when passing data to callback).</li>
92+
</ul></li>
93+
<li>Zip:
94+
<ul>
95+
<li>Fix crash in property existence test.</li>
96+
<li>Don't truncate return value of zip_fread() with user sizes.</li>
97+
</ul></li>
98+
<li>Zlib:
99+
<ul>
100+
<li>Fix assertion failures resulting in crashes with stream filter object parameters.</li>
101+
</ul></li>
102+
</ul>
103+
<!-- }}} --></section>
104+
105+
106+
12107
<section class="version" id="8.5.0"><!-- {{{ 8.5.0 -->
13108
<h3>Version 8.5.0</h3>
14109
<b><?php release_date('20-Nov-2025'); ?></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/2025-12-18-1.xml"/>
1213
<xi:include href="entries/2025-12-17-1.xml"/>
1314
<xi:include href="entries/2025-11-30-1.xml"/>
1415
<xi:include href="entries/2025-11-20-3.xml"/>

archive/entries/2025-12-18-1.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.1 Released!</title>
4+
<id>https://www.php.net/archive/2025.php#2025-12-18-1</id>
5+
<published>2025-12-18T14:37:54+00:00</published>
6+
<updated>2025-12-18T14:37:54+00:00</updated>
7+
<link href="https://www.php.net/index.php#2025-12-18-1" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2025.php#2025-12-18-1" 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.1. 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.1 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
17+
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
18+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.5.1">ChangeLog</a>.
19+
</p> </div>
20+
</content>
21+
</entry>

include/release-qa.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
'active' => true,
102102
'release' => [
103103
'type' => 'RC',
104-
'number' => 2,
104+
'number' => 0,
105105
'sha256_bz2' => '5285c132e3635dddfa920d57edb9acf8fd84432f53fd2d5e3585637d14a09a29',
106106
'sha256_gz' => '394ae2e58140107199fe25c44cb70382fb4b4a4106a3e127ce0220b1cffc9089',
107107
'sha256_xz' => '18b766c67022ef5e84b15e4adc7e9041811668977e16f91fe02bf7c7e3231299',

include/releases.inc

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,43 @@
22
$OLDRELEASES = array (
33
8 =>
44
array (
5+
'8.5.0' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_5_0.php',
10+
),
11+
'tags' =>
12+
array (
13+
0 => '',
14+
),
15+
'date' => '20 Nov 2025',
16+
'source' =>
17+
array (
18+
0 =>
19+
array (
20+
'filename' => 'php-8.5.0.tar.gz',
21+
'name' => 'PHP 8.5.0 (tar.gz)',
22+
'sha256' => 'dc3651369c9b63320dd4ea8e272c6a23f18e50f67c13d10ee368c86961dbd10f',
23+
'date' => '20 Nov 2025',
24+
),
25+
1 =>
26+
array (
27+
'filename' => 'php-8.5.0.tar.bz2',
28+
'name' => 'PHP 8.5.0 (tar.bz2)',
29+
'sha256' => 'cd16cb045b34a6cec6a83008e1b335f365c7a832fcc483df82308664c6d021f9',
30+
'date' => '20 Nov 2025',
31+
),
32+
2 =>
33+
array (
34+
'filename' => 'php-8.5.0.tar.xz',
35+
'name' => 'PHP 8.5.0 (tar.xz)',
36+
'sha256' => '39cb6e4acd679b574d3d3276f148213e935fc25f90403eb84fb1b836a806ef1e',
37+
'date' => '20 Nov 2025',
38+
),
39+
),
40+
'museum' => false,
41+
),
542
'8.4.14' =>
643
array (
744
'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.0',
24-
'date' => '20 Nov 2025',
25-
'tags' => [''], // Set to ['security'] for security releases.
23+
'version' => '8.5.1',
24+
'date' => '18 Dec 2025',
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' => 'dc3651369c9b63320dd4ea8e272c6a23f18e50f67c13d10ee368c86961dbd10f',
30-
'tar.bz2' => 'cd16cb045b34a6cec6a83008e1b335f365c7a832fcc483df82308664c6d021f9',
31-
'tar.xz' => '39cb6e4acd679b574d3d3276f148213e935fc25f90403eb84fb1b836a806ef1e',
29+
'tar.gz' => '915492958081409a5e3ef99df969bcfa5b33bdf9517bd077991747e17fa2c1b7',
30+
'tar.bz2' => '55f428c426e7241752ea9afff160bb64c32a9321cbd6d17d1c145b8df8823737',
31+
'tar.xz' => '3f5bf99ce81201f526d25e288eddb2cfa111d068950d1e9a869530054ff98815',
3232
]
3333
];
3434

releases/8_5_1.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_1.php';
3+
include_once __DIR__ . '/../include/prepend.inc';
4+
site_header('PHP 8.5.1 Release Announcement');
5+
?>
6+
<h1>PHP 8.5.1 Release Announcement</h1>
7+
8+
<p>The PHP development team announces the immediate availability of PHP 8.5.1. 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.1 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
13+
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
14+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.5.1">ChangeLog</a>.
15+
</p>
16+
<?php site_footer();

0 commit comments

Comments
 (0)