[PHP-WEBMASTER] [web-php] master: Announce PHP 8.5.2

Author: Daniel Scherzer (DanielEScherzer)
Date: 2026-01-15T16:02:47-08:00

Commit: Announce PHP 8.5.2 · php/web-php@780f5fa · GitHub
Raw diff: PHP 8.5.2 Released!

Announce PHP 8.5.2

Changed paths:
  A archive/entries/2026-01-15-3.xml
  A releases/8_5_2.php
  M ChangeLog-8.php
  M archive/archive.xml
  M include/release-qa.php
  M include/releases.inc
  M include/version.inc

Diff:

diff --git a/ChangeLog-8.php b/ChangeLog-8.php
index 5450a1f3b4..6f9f8b663c 100644
--- a/ChangeLog-8.php
+++ b/ChangeLog-8.php
@@ -9,6 +9,80 @@

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

+<section class="version" id="8.5.2"><!-- {{{ 8.5.2 -->
+<h3>Version 8.5.2</h3>
+<b><?php release_date('15-Jan-2026'); ?></b>
+<ul><li>Core:
+<ul>
+ <li>Fix OSS-Fuzz #465488618 (Wrong assumptions when dumping function signature with dynamic class const lookup default argument).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20695); ?> (Assertion failure in normalize_value() when parsing malformed INI input via parse_ini_string()).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20714); ?> (Uncatchable exception thrown in generator).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20352); ?> (UAF in php_output_handler_free via re-entrant ob_start() during error deactivation).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20745); ?> ("Casting out of range floats to int" applies to strings).</li>
+</ul></li>
+<li>DOM:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20722); ?> (Null pointer dereference in DOM namespace node cloning via clone on malformed objects).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20444); ?> (Dom\XMLDocument::C14N() seems broken compared to DOMDocument::C14N()).</li>
+</ul></li>
+<li>EXIF:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20631); ?> (Integer underflow in exif HEIF parsing when pos.size &lt; 2).</li>
+</ul></li>
+<li>Intl:
+<ul>
+ <li>Fix leak in umsg_format_helper().</li>
+</ul></li>
+<li>LDAP:
+<ul>
+ <li>Fix memory leak in ldap_set_options().</li>
+</ul></li>
+<li>Lexbor:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20668); ?> (\Uri\WhatWg\Url::withHost() crashes (SEGV) for URLs using the file: scheme).</li>
+</ul></li>
+<li>Mbstring:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20674); ?> (mb_decode_mimeheader does not handle separator).</li>
+</ul></li>
+<li>PCNTL:
+<ul>
+ <li>Fixed bug with pcntl_getcpuaffinity() on solaris regarding invalid process ids handling.</li>
+</ul></li>
+<li>Phar:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20732); ?> (Phar::LoadPhar undefined behavior when reading fails).</li>
+ <li>Fix SplFileInfo::openFile() in write mode.</li>
+ <li>Fix build on legacy OpenSSL 1.1.0 systems.</li>
+ <li><?php bugfix(74154); ?> (Phar extractTo creates empty files).</li>
+</ul></li>
+<li>Session:
+<ul>
+ <li>Fix support for MM module.</li>
+</ul></li>
+<li>Sqlite3:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20699); ?> (SQLite3Result fetchArray return array|false, null returned).</li>
+</ul></li>
+<li>Standard:
+<ul>
+ <li>Fix error check for proc_open() command.</li>
+ <li>Fix memory leak in mail() when header key is numeric.</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20582); ?> (Heap Buffer Overflow in iptcembed).</li>
+</ul></li>
+<li>URI:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 20771); ?> (Assertion failure when getUnicodeHost() returns empty string).</li>
+</ul></li>
+<li>Zlib:
+<ul>
+ <li>Fix OOB gzseek() causing assertion failure.</li>
+</ul></li>
+</ul>
+<!-- }}} --></section>
+
+
+
<section class="version" id="8.5.1"><!-- {{{ 8.5.1 -->
<h3>Version 8.5.1</h3>
<b><?php release_date('18-Dec-2025'); ?></b>
diff --git a/archive/archive.xml b/archive/archive.xml
index 815960c110..9b1ddec864 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
     <uri>PHP: Manual Quick Reference;
     <email>php-webmaster@lists.php.net</email>
   </author>
+ <xi:include href="entries/2026-01-15-3.xml"/>
   <xi:include href="entries/2026-01-15-2.xml"/>
   <xi:include href="entries/2026-01-15-1.xml"/>
   <xi:include href="entries/2025-12-18-5.xml"/>
diff --git a/archive/entries/2026-01-15-3.xml b/archive/entries/2026-01-15-3.xml
new file mode 100644
index 0000000000..14e7489cac
--- /dev/null
+++ b/archive/entries/2026-01-15-3.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<entry xmlns="http://www.w3.org/2005/Atom&quot;&gt;
+ <title>PHP 8.5.2 Released!</title>
+ <id>PHP: News Archive - 2026;
+ <published>2026-01-15T23:57:49+00:00</published>
+ <updated>2026-01-15T23:57:49+00:00</updated>
+ <link href="PHP; rel="alternate" type="text/html"/>
+ <link href="PHP: News Archive - 2026; 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&quot;&gt;&lt;p&gt;The PHP development team announces the immediate availability of PHP 8.5.2. This is a bug fix release.</p>
+
+<p>All PHP 8.5 users are encouraged to upgrade to this version.</p>
+
+<p>For source downloads of PHP 8.5.2 please visit our <a href="PHP: Manual Quick Reference page</a>,
+Windows source and binaries can also be found <a href="PHP: Downloads.
+The list of changes is recorded in the <a href="PHP: PHP 8 ChangeLog.
+</p> </div>
+ </content>
+</entry>
diff --git a/include/release-qa.php b/include/release-qa.php
index f69946de08..921d59ab15 100644
--- a/include/release-qa.php
+++ b/include/release-qa.php
@@ -88,10 +88,10 @@
         'active' => true,
         'release' => [
             'type' => 'RC',
- 'number' => 1,
- 'sha256_bz2' => '622b2d9471bd10d054a7d5938e66072512fad367b97e147165c0a864746b94ff',
- 'sha256_gz' => '12f39245d139c956af072b45c3adbf9bb8b35d23a03e401cd502a83ed00d4d39',
- 'sha256_xz' => '5ba316ea268c80bb50468baecf8e040971fad328239d526dcc0a986c1d72b13b',
+ 'number' => 0,
+ 'sha256_bz2' => '',
+ 'sha256_gz' => '',
+ 'sha256_xz' => '',
             'date' => '01 Jan 2026',
             'baseurl' => 'Index of /~daniels',
         ],
diff --git a/include/releases.inc b/include/releases.inc
index c854967cd8..70353dcdfb 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -2,6 +2,43 @@
$OLDRELEASES = array (
   8 =>
   array (
+ '8.5.1' =>
+ array (
+ 'announcement' =>
+ array (
+ 'English' => '/releases/8_5_1.php',
+ ),
+ 'tags' =>
+ array (
+ 0 => 'security',
+ ),
+ 'date' => '18 Dec 2025',
+ 'source' =>
+ array (
+ 0 =>
+ array (
+ 'filename' => 'php-8.5.1.tar.gz',
+ 'name' => 'PHP 8.5.1 (tar.gz)',
+ 'sha256' => '915492958081409a5e3ef99df969bcfa5b33bdf9517bd077991747e17fa2c1b7',
+ 'date' => '18 Dec 2025',
+ ),
+ 1 =>
+ array (
+ 'filename' => 'php-8.5.1.tar.bz2',
+ 'name' => 'PHP 8.5.1 (tar.bz2)',
+ 'sha256' => '55f428c426e7241752ea9afff160bb64c32a9321cbd6d17d1c145b8df8823737',
+ 'date' => '18 Dec 2025',
+ ),
+ 2 =>
+ array (
+ 'filename' => 'php-8.5.1.tar.xz',
+ 'name' => 'PHP 8.5.1 (tar.xz)',
+ 'sha256' => '3f5bf99ce81201f526d25e288eddb2cfa111d068950d1e9a869530054ff98815',
+ 'date' => '18 Dec 2025',
+ ),
+ ),
+ 'museum' => false,
+ ),
     '8.3.29' =>
     array (
       'announcement' =>
diff --git a/include/version.inc b/include/version.inc
index f82d3edcc1..2db873e594 100644
--- a/include/version.inc
+++ b/include/version.inc
@@ -20,15 +20,15 @@ $RELEASES = (function () {

     /* PHP 8.5 Release */
     $data['8.5'] = [
- 'version' => '8.5.1',
- 'date' => '18 Dec 2025',
- 'tags' => ['security'], // Set to ['security'] for security releases.
+ 'version' => '8.5.2',
+ 'date' => '15 Jan 2026',
+ 'tags' => [], // Set to ['security'] for security releases.
         'sha256' => [
             // WARNING: Order of SHA256 entries here is DIFFERENT from the
             // order in the manifest
- 'tar.gz' => '915492958081409a5e3ef99df969bcfa5b33bdf9517bd077991747e17fa2c1b7',
- 'tar.bz2' => '55f428c426e7241752ea9afff160bb64c32a9321cbd6d17d1c145b8df8823737',
- 'tar.xz' => '3f5bf99ce81201f526d25e288eddb2cfa111d068950d1e9a869530054ff98815',
+ 'tar.gz' => '379ccccefcc85f28286444cf01bc0db017c79d513417267f5bb1d804b8428c22',
+ 'tar.bz2' => 'f7efdeccc3a810b18920692306536b99a3ba86610dbd0795a296cf77d3fb3a06',
+ 'tar.xz' => 'cb75a9b00a2806f7390dd64858ef42a47b443b3475769c8af6af33a18b1381f1',
         ]
     ];

diff --git a/releases/8_5_2.php b/releases/8_5_2.php
new file mode 100644
index 0000000000..77237286e9
--- /dev/null
+++ b/releases/8_5_2.php
@@ -0,0 +1,16 @@
+<?php
+$_SERVER['BASE_PAGE'] = 'releases/8_5_2.php';
+include_once __DIR__ . '/../include/prepend.inc';
+site_header('PHP 8.5.2 Release Announcement');
+?>
+<h1>PHP 8.5.2 Release Announcement</h1>
+
+<p>The PHP development team announces the immediate availability of PHP 8.5.2. This is a bug fix release.</p>
+
+<p>All PHP 8.5 users are encouraged to upgrade to this version.</p>
+
+<p>For source downloads of PHP 8.5.2 please visit our <a href="PHP: Manual Quick Reference page</a>,
+Windows source and binaries can also be found <a href="PHP: Downloads.
+The list of changes is recorded in the <a href="PHP: PHP 8 ChangeLog.
+</p>
+<?php site_footer();

1 Like