The latest release of PHP 8.5 is
8.5.10 which includes important security patches.
Source Code
-
PHP 8.5.6 (tar.gz)
- sha256: 169aaa21c2834b38df8e39169f43bc5bea8d4059a816cfbc59be08fc2bae60cd
-
PHP 8.5.6 (tar.bz2)
- sha256: 4457240f65f0c59a620920d66cdab1b12100a431e03ad9febe38b13a1b25957f
-
PHP 8.5.6 (tar.xz)
- sha256: 826c600b7c6f956bd335558ca3bdbcab23b22126c1cc8d9348be2280a2204bb7
Change Log
-
core
-
cli
-
Fixed bug
GH-21754 (`--rf` command line option with a method triggers ext/reflection deprecation warnings).
-
curl
-
dom
-
Fixed
GHSA-4jhr-8w89-j733 and
GH-21566 (Dom\XMLDocument::C14N() emits duplicate xmlns declarations after setAttributeNS()). (CVE-2026-7263)
-
fpm
-
iconv
-
Fixed bug
GH-17399 (iconv memory leak on bailout).
-
lexbor
-
mbstring
-
Fixed
GHSA-wm6j-2649-pv75 (Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()). (CVE-2026-7259)
-
-
opcache
-
openssl
-
pdo_firebird
-
pdo_pgsql
-
Fixed bug
GH-21683 (pdo_pgsql throws with ATTR_PREFETCH=0 on empty result set).
-
phar
-
Restore is_link handler in phar_intercept_functions_shutdown.
-
Fixed bug
GH-21797 (phar: NULL dereference in Phar::webPhar() when SCRIPT_NAME is absent from SAPI environment).
-
Fix memory leak in Phar::offsetGet().
-
Fix memory leak in phar_add_file().
-
Fixed bug
GH-21799 (phar: propagate phar_stream_flush return value from phar_stream_close).
-
Fix memory leak in phar_verify_signature() when md_ctx is invalid.
-
random
-
Fixed bug
GH-21731 (Random\Engine\Xoshiro256StarStar::__unserialize() accepts all-zero state).
-
session
-
soap
-
Fixed
GHSA-85c2-q967-79q5 (Stale SOAP_GLOBAL(ref_map) pointer with Apache Map). (CVE-2026-6722)
-
Fixed
GHSA-m33r-qmcv-p97q (Use-after-free after header parsing failure with SOAP_PERSISTENCE_SESSION). (CVE-2026-7261)
-
-
spl
-
sqlite3
-
standard
-
-
Fixed
GHSA-m8rr-4c36-8gq4 (Consistently pass unsigned char to ctype.h functions). (CVE-2026-7258)
-
streams
-
Fixed bug
GH-21468 (Segfault in file_get_contents w/ a https URL and a proxy set). (CVE-2026-12184)
-
uri