[SECURITY RELEASE] PHP 8.4.28
- Published:
- Fetched:
- Affects:
- php php
https://php.net/releases/8_4_28.php ↗
Fixes: CVE-2026-129538, CVE-2026-129496, CVE-2026-129501, CVE-2026-129291, CVE-2026-129289, CVE-2026-129292, GHSA-5j3f-64r7-f564, GHSA-gr4f-wgx5-jpfv, GHSA-x8r7-mg3g-74hg, GHSA-jm4m-qfqx-967m, GHSA-qc49-hpvq-g2w6, GHSA-3mg3-cr28-46gc > Version 8.4.28 19 Nov 2026 Core: Fixed bug GH-24184 (System ID not being reinitialized after an Apache graceful restart, potentially causing incompatible OPcache file cache entries to be reused). Fixed memory leak when an exception already contains the pending exception in its previous chain. Fixed bug GH-23979 (Nullsafe operator must not flush delayed oplines of an enclosing function). Fixed memory manager keeping a block reallocated to exactly the size of the next smaller bin in its larger bin, which efree_size() then freed into the wrong one. Fixed bug GH-24218 (Invalid opcode for count() of a literal array without SCCP). Fix throwing behaviour with recursive arrays in VM. Fixed skipped catch block when switching fibers during exception unwinding (Nicolas Grekas) Fix escape analysis for objects implementing ArrayAccess. Fix UAF for resolved callable zval. Fix memory leak for nested HTTP calls. Fixed pthread attribute leak in zend_call_stack_get_netbsd_pthread(). Fixed bug GH-24321 (ZTS: global_map_ptr_last survives zend_shutdown(), so an in-process engine restart keeps growing the map_ptr table). Fix function and constant imports in compile_to_ast and add support for grouping. Fixed bug GH-24265 (Unwind/GracefulExit discarded in zend_fiber_execute()). Fixed bug GH-24668 (zend_set_local_var() leaks the previous value of an existing CV). Fixed unmapping of an unrelated range when the aligned chunk mmap fails (Marti2203). Fixed bug GH-24989 (Use-after-free in GC when an exception is thrown). Fixed bug GH-24534 (Segfault in zend_try_early_bind when a parent class autoloads its cached child during linking). Fixed AST printing dropping final on class constants and properties, and abstract on properties. Fixed AST export of readonly anonymous classes dropping the readonly modifier. Fixed memory leak of a duplicate named argument in new in initializer. Fixed bug GH-25061 ($x = $x - 1 on null is optimized to PRE_DEC). Fixed bug GH-24480 (Finally block running a second time when a VM interrupt throws as the finally block returns to a "return" in its try block). CGI: Fixed GHSA-5j3f-64r7-f564 (PHP-CGI out-of-bounds read and write during PATH_INFO correction). (CVE-2026-129538) CLI: Fixed bug GH-24697 (PHP_HTTP_PARSER_STRICT build option doesn't work). Fixed bug GH-9670 (List -C and -q in the CLI help). Fixed crash and leak in the built-in server on repeated request headers. COM: Fixed bug GH-25008 (com_event_sink() and com_print_typeinfo() crash resolving an event source with no loaded typelib). Curl: Fix use-after-free of CURLOPT_STDERR stream on cloned curl handle. Fix UAF on clone due to callback data pointer mismatch. Date: Fixed bug GH-20503 (Assertion failure with ext/date DateInterval property hash construction). Fixed bug GH-24350 (MINIT reads a stale external tz database after an in-process module restart). Fixed GHSA-gr4f-wgx5-jpfv (Timezone cache use-after-free can lead to remote code execution). (CVE-2026-129496) DBA: Fixed bug GH-24641 (ndbm backend never checks dbm_open() return value, NULL deref on first use after a failed open). DOM: Fixed a use-after-free when reflected attribute setters replace an attribute whose child still has a live wrapper. Fixed bug GH-23352 (UAF reading an attribute value node retained across DOMDocument::adoptNode()). Fixed bug GH-24260 (querySelectorAll() returns duplicate elements for selector lists). Fixed bug GH-23334 (Use-after-free in php_dom_free_templated_content()). Fixed bug GH-22077 (UAF in custom XPath function). Fixed bug GH-22554 (use-after-free with XPath callback returning a node from a foreign document). Fixed DOMXPath crash wrapping a foreign node after a nodeset callback. Fix error paths in dom_xml_serializing_a_document_node(). Fixed use-after-free on namespace axis results with a foreign-document XPath callback node. Fixed GHSA-x8r7-mg3g-74hg (Double free during DOM XML serialization). (CVE-2026-129501) FFI: Fixed b