×
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.7 release notes: what changed

PHP 8.5.7 came out on 4 June 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.7

All PHP 8.5 releases

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

CLI

  • Fixed bug GH-21901 (Stale getopt() optional value). (onthebed)

Core

  • Fixed bug GH-22071 (JIT assertion on abstract static method call). (David Carlier)

Date

  • Fixed bug GH-18422 (int overflow in php_date_llabs). (iliaal)

DOM

  • Fixed bug GH-22077 (UAF in custom XPath function). (afflerbach/David Carlier)

Opcache

  • Fixed tracing JIT crash when a VM interrupt is handled during an observed user function call. (Levi Morrison)
  • Fixed bug GH-21746 (Segfault with tracing JIT). (Arnaud)
  • Fixed bug GH-22004 (Assertion failure at ext/opcache/jit/zend_jit_trace.c). (Arnaud)
  • Fixed tailcall VM crash when a VM interrupt is handled from a VM helper. (Levi Morrison, Arnaud)

OpenSSL

  • Fix compatibility issues with OpenSSL 4.0. (jordikroon, Remi)

Standard

  • Fixed bug GH-21689 (version_compare() incorrectly handles versions ending with a dot). (timwolla)

URI

  • Fixed CVE-2026-44927 (In uriparser before 1.0.2, there is pointer difference truncation to int in various places). (CVE-2026-44927) (Sebastian Pipping)
  • Fixed CVE-2026-44928 (In uriparser before 1.0.2, the function family EqualsUri can misclassify two unequal URIs as equal). (CVE-2026-44928) (Sebastian Pipping)

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