×
UpdatePHP Pro Log in Register
PHP expiry alert : PHP v8.1 has recently expired. Is your website still running this version? Click here for more details
SAFE versions of PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

PHP 8.5.5 release notes: what changed

PHP 8.5.5 came out on 9 April 2026. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 8.5.5

All PHP 8.5 releases

The changes are listed in English, exactly as the PHP developers wrote them (24 in total).

Core

  • Fixed bug GH-20672 (Incorrect property_info sizing for locally shadowed trait properties). (ilutov)
  • Fixed bugs GH-20875, GH-20873, GH-20854 (Propagate IN_GET guard in get_property_ptr_ptr for lazy proxies). (iliaal)

Bz2

  • Fix truncation of total output size causing erroneous errors. (ndossche)

DOM

  • Fixed bug GH-21486 (Dom\HTMLDocument parser mangles xml:space and xml:lang attributes). (ndossche)

FFI

  • Fixed resource leak in FFI::cdef() onsymbol resolution failure. (David Carlier)

GD

  • Fixed bug GH-21431 (phpinfo() to display libJPEG 10.0 support). (David Carlier)

Opcache

  • Fixed bug GH-21052 (Preloaded constant erroneously propagated to file-cached script). (ilutov)
  • Fixed bug GH-20838 (JIT compiler produces wrong arithmetic results). (Dmitry, iliaal)
  • Fixed bug GH-21267 (JIT tracing: infinite loop on FETCH_OBJ_R with IS_UNDEF property in polymorphic context). (Dmitry, iliaal)
  • Fixed bug GH-21395 (uaf in jit). (ndossche)

OpenSSL

  • Fixed bug GH-21083 (Skip private_key_bits validation for EC/curve-based keys). (iliaal)
  • Fix missing error propagation for BIO_printf() calls. (ndossche)

PCNTL

  • Fixed signal handler installation on AIX by bumping the storage size of the num_signals global. (Calvin Buckley)

PCRE

  • Fixed re-entrancy issue on php_pcre_match_impl, php_pcre_replace_impl, php_pcre_split_impl, and php_pcre_grep_impl. (David Carlier)

Phar

  • Fixed bug GH-21333 (use after free when unlinking entries during iteration of a compressed phar). (David Carlier)

SNMP

  • Fixed bug GH-21336 (SNMP::setSecurity() undefined behavior with NULL arguments). (David Carlier)

SOAP

  • Fixed Set-Cookie parsing bug wrong offset while scanning attributes. (David Carlier)

SPL

  • Fixed bug GH-21454 (missing write lock validation in SplHeap). (ndossche)

Standard

  • Fixed bug GH-20906 (Assertion failure when messing up output buffers). (ndossche)
  • Fixed bug GH-20627 (Cannot identify some avif images with getimagesize). (y-guyon)
  • Fixed bug GH-22171 (Invalid auth header generation in http(s) stream wrapper). (David Carlier)

Sysvshm

  • Fix memory leak in shm_get_var() when variable is corrupted. (ndossche)

XSL

  • Fix GH-21357 (XSLTProcessor works with DOMDocument, but fails with Dom\XMLDocument). (ndossche)
  • Fixed bug GH-21496 (UAF in dom_objects_free_storage). (David Carlier/ndossche)

This list comes from the NEWS file that the PHP developers keep with the PHP source code, and the same list is also published on php.net.

Back to Guide Index
Article last updated: 21st October, 2026