1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Announce PHP 8.5.1

This commit is contained in:
Volker Dusch
2025-12-18 15:43:22 +01:00
parent 0dfb1e11e9
commit 0fa26a1db8
7 changed files with 177 additions and 7 deletions

View File

@@ -9,6 +9,101 @@ changelog_header(8, $MINOR_VERSIONS);
<a id="PHP_8_5"></a>
<section class="version" id="8.5.1"><!-- {{{ 8.5.1 -->
<h3>Version 8.5.1</h3>
<b><?php release_date('18-Dec-2025'); ?></b>
<ul><li>Core:
<ul>
<li>Sync all boost.context files with release 1.86.0.</li>
<li>Fixed bug <?php githubissuel('php/php-src', 20435); ?> (SensitiveParameter doesn't work for named argument passing to variadic parameter).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 20546); ?> (preserve_none attribute configure check on macOs issue).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 20286); ?> (use-after-destroy during userland stream_close()).</li>
</ul></li>
<li>Bz2:
<ul>
<li>Fix assertion failures resulting in crashes with stream filter object parameters.</li>
</ul></li>
<li>DOM:
<ul>
<li>Fix memory leak when edge case is hit when registering xpath callback.</li>
<li>Fixed bug <?php githubissuel('php/php-src', 20395); ?> (querySelector and querySelectorAll requires elements in $selectors to be lowercase).</li>
<li>Fix missing NUL byte check on C14NFile().</li>
</ul></li>
<li>Fibers:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 20483); ?> (ASAN stack overflow with fiber.stack_size INI small value).</li>
</ul></li>
<li>Intl:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 20426); ?> (Spoofchecker::setRestrictionLevel() error message suggests missing constants).</li>
</ul></li>
<li>Lexbor:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 20501); ?> (\Uri\WhatWg\Url lose host after calling withPath() or withQuery()).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 20502); ?> (\Uri\WhatWg\Url crashes (SEGV) when parsing malformed URL due to Lexbor memory corruption).</li>
</ul></li>
<li>LibXML:
<ul>
<li>Fix some deprecations on newer libxml versions regarding input buffer/parser handling.</li>
</ul></li>
<li>MySQLnd:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 20528); ?> (Regression breaks mysql connexion using an IPv6 address enclosed in square brackets).</li>
</ul></li>
<li>Opcache:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 20329); ?> (opcache.file_cache broken with full interned string buffer).</li>
</ul></li>
<li>PDO:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 20553); ?> (PDO::FETCH_CLASSTYPE ignores $constructorArgs in PHP 8.5.0).</li>
<li>Fixed <?php githubsecurityl('php/php-src', '8xr5-qppj-gvwj'); ?> (PDO quoting result null deref). (CVE-2025-14180)</li>
</ul></li>
<li>Phar:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 20442); ?> (Phar does not respect case-insensitiveness of __halt_compiler() when reading stub).</li>
<li>Fix broken return value of fflush() for phar file entries.</li>
<li>Fix assertion failure when fseeking a phar file out of bounds.</li>
</ul></li>
<li>PHPDBG:
<ul>
<li>Fixed ZPP type violation in phpdbg_get_executable() and phpdbg_end_oplog().</li>
</ul></li>
<li>SPL:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 20614); ?> (SplFixedArray incorrectly handles references in deserialization).</li>
</ul></li>
<li>Standard:
<ul>
<li>Fix memory leak in array_diff() with custom type checks.</li>
<li>Fixed bug <?php githubissuel('php/php-src', 20583); ?> (Stack overflow in http_build_query via deep structures).</li>
<li>Fixed <?php githubsecurityl('php/php-src', 'www2-q4fc-65wf'); ?> (Null byte termination in dns_get_record()).</li>
<li>Fixed <?php githubsecurityl('php/php-src', 'h96m-rvf9-jgm2'); ?> (Heap buffer overflow in array_merge()). (CVE-2025-14178)</li>
<li>Fixed <?php githubsecurityl('php/php-src', '3237-qqm7-mfv7'); ?> (Information Leak of Memory in getimagesize). (CVE-2025-14177)</li>
</ul></li>
<li>URI:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 20366); ?> (ext/uri incorrectly throws ValueError when encountering null byte).</li>
<li>Fixed CVE-2025-67899 (uriparser through 0.9.9 allows unbounded recursion and stack consumption).</li>
</ul></li>
<li>XML:
<ul>
<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>
</ul></li>
<li>Zip:
<ul>
<li>Fix crash in property existence test.</li>
<li>Don't truncate return value of zip_fread() with user sizes.</li>
</ul></li>
<li>Zlib:
<ul>
<li>Fix assertion failures resulting in crashes with stream filter object parameters.</li>
</ul></li>
</ul>
<!-- }}} --></section>
<section class="version" id="8.5.0"><!-- {{{ 8.5.0 -->
<h3>Version 8.5.0</h3>
<b><?php release_date('20-Nov-2025'); ?></b>

View File

@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>php-webmaster@lists.php.net</email>
</author>
<xi:include href="entries/2025-12-18-1.xml"/>
<xi:include href="entries/2025-12-17-1.xml"/>
<xi:include href="entries/2025-11-30-1.xml"/>
<xi:include href="entries/2025-11-20-3.xml"/>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>PHP 8.5.1 Released!</title>
<id>https://www.php.net/archive/2025.php#2025-12-18-1</id>
<published>2025-12-18T14:37:54+00:00</published>
<updated>2025-12-18T14:37:54+00:00</updated>
<link href="https://www.php.net/index.php#2025-12-18-1" rel="alternate" type="text/html"/>
<link href="https://www.php.net/archive/2025.php#2025-12-18-1" rel="via" type="text/html"/>
<category term="releases" label="New PHP release"/>
<category term="frontpage" label="PHP.net frontpage news"/>
<content type="xhtml">
<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>
<p>All PHP 8.5 users are encouraged to upgrade to this version.</p>
<p>For source downloads of PHP 8.5.1 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.5.1">ChangeLog</a>.
</p> </div>
</content>
</entry>

View File

@@ -101,7 +101,7 @@ $QA_RELEASES = [
'active' => true,
'release' => [
'type' => 'RC',
'number' => 2,
'number' => 0,
'sha256_bz2' => '5285c132e3635dddfa920d57edb9acf8fd84432f53fd2d5e3585637d14a09a29',
'sha256_gz' => '394ae2e58140107199fe25c44cb70382fb4b4a4106a3e127ce0220b1cffc9089',
'sha256_xz' => '18b766c67022ef5e84b15e4adc7e9041811668977e16f91fe02bf7c7e3231299',

View File

@@ -2,6 +2,43 @@
$OLDRELEASES = array (
8 =>
array (
'8.5.0' =>
array (
'announcement' =>
array (
'English' => '/releases/8_5_0.php',
),
'tags' =>
array (
0 => '',
),
'date' => '20 Nov 2025',
'source' =>
array (
0 =>
array (
'filename' => 'php-8.5.0.tar.gz',
'name' => 'PHP 8.5.0 (tar.gz)',
'sha256' => 'dc3651369c9b63320dd4ea8e272c6a23f18e50f67c13d10ee368c86961dbd10f',
'date' => '20 Nov 2025',
),
1 =>
array (
'filename' => 'php-8.5.0.tar.bz2',
'name' => 'PHP 8.5.0 (tar.bz2)',
'sha256' => 'cd16cb045b34a6cec6a83008e1b335f365c7a832fcc483df82308664c6d021f9',
'date' => '20 Nov 2025',
),
2 =>
array (
'filename' => 'php-8.5.0.tar.xz',
'name' => 'PHP 8.5.0 (tar.xz)',
'sha256' => '39cb6e4acd679b574d3d3276f148213e935fc25f90403eb84fb1b836a806ef1e',
'date' => '20 Nov 2025',
),
),
'museum' => false,
),
'8.4.14' =>
array (
'announcement' =>

View File

@@ -20,15 +20,15 @@ $RELEASES = (function () {
/* PHP 8.5 Release */
$data['8.5'] = [
'version' => '8.5.0',
'date' => '20 Nov 2025',
'tags' => [''], // Set to ['security'] for security releases.
'version' => '8.5.1',
'date' => '18 Dec 2025',
'tags' => ['security'], // Set to ['security'] for security releases.
'sha256' => [
// WARNING: Order of SHA256 entries here is DIFFERENT from the
// order in the manifest
'tar.gz' => 'dc3651369c9b63320dd4ea8e272c6a23f18e50f67c13d10ee368c86961dbd10f',
'tar.bz2' => 'cd16cb045b34a6cec6a83008e1b335f365c7a832fcc483df82308664c6d021f9',
'tar.xz' => '39cb6e4acd679b574d3d3276f148213e935fc25f90403eb84fb1b836a806ef1e',
'tar.gz' => '915492958081409a5e3ef99df969bcfa5b33bdf9517bd077991747e17fa2c1b7',
'tar.bz2' => '55f428c426e7241752ea9afff160bb64c32a9321cbd6d17d1c145b8df8823737',
'tar.xz' => '3f5bf99ce81201f526d25e288eddb2cfa111d068950d1e9a869530054ff98815',
]
];

16
releases/8_5_1.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
$_SERVER['BASE_PAGE'] = 'releases/8_5_1.php';
include_once __DIR__ . '/../include/prepend.inc';
site_header('PHP 8.5.1 Release Announcement');
?>
<h1>PHP 8.5.1 Release Announcement</h1>
<p>The PHP development team announces the immediate availability of PHP 8.5.1. This is a security release.</p>
<p>All PHP 8.5 users are encouraged to upgrade to this version.</p>
<p>For source downloads of PHP 8.5.1 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.5.1">ChangeLog</a>.
</p>
<?php site_footer();