VulnWatch by ve1ve2
critical 9.2 EPSS 7.25%

[SECURITY RELEASE] PHP 8.6.0

Source:
PHP releases (all active branches, php.net)
Published:
Fetched:
Affects:
php php

https://php.net/releases/8_6_0.php ↗

releasephp-branch:8.6securitystack

Fixes: CVE-2026-129474, GHSA-8mjj-2r7p-4hg2 > Version 8.6.0 19 Nov 2026 Core: Fix potential ABI incompatibility when adding fields in patches by adding padding to globals. Fix function and constant imports in compile_to_ast and add support for grouping. 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-25023 (ZEND_CONTAINER_OF() fails to compile with -std=c11). 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 first-class callables to static methods in trait constant expressions resolving to the method of the first using class and bypassing visibility checks. 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. 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. Fixed GH-23921 (Fibers start with error_reporting = 0 when the error_reporting INI directive is not set). Deprecated using "let" or "is" as the name of a class, function, or constant, and as an alias in class_alias() and use declarations. Deprecated using "_" as a constant name and as an alias for a class or constant in use declarations. Fixed incorrect internal pointer and foreach iterator positions when compacting arrays with holes. Fix handling of references to typed properties during unserialization of various internal classes. Fixed bug GH-23752 (Use scoped diagnostic suppression for the global register declarations so the caller's -Wvolatile-register-var state is restored). Fixed OSS-Fuzz #538730793 (Assertion failure when returning by-ref from closure invoke). Fixed OSS-Fuzz #540904105 (ASSERT: ast->attr == T_CLASS_C). Calling is_a() or is_subclass_of() with a string as the first argument when $allow_string is false is now deprecated. Enabled the TAILCALL VM (--disable-gcc-global-regs) when building with GCC >= 16. Fixed GH-10497 (Allow direct mutation of objects stored in constants or class constants via OBJ->prop = $val). Using the return statement in a finally block is now deprecated. Deprecated "namespace" as a class constant name. Changed run-tests.php to run in parallel by default, using up to 10 automatically detected workers. Pass -j1 for sequential execution. Allowed readonly properties to declare default values. Changed run-tests.php to run test subprocesses without a shell where possible. Fixed GH-23121 (is_callable() wrongly accepts objects with no get_closure handler). Passing a 3rd argument to define() is now deprecated. Naming a function readonly is now deprecated. Added stateless closure cache. Implemented partial function application RFC. Compile array_map() into a foreach() loop when using Partial Function Application as callback. Fixed bug GH-22263 (reset typed property default on every unserialize failure path). Fixed bug GH-18847 (SEGV in zend_fetch_debug_backtrace() when the memory limit is reached while the tracing JIT enters a call frame). Sync Boost.Context assembly with 1.91.0. Fixed bug GH-22387 (AST pretty-printing drops meaningful parentheses around RHS of instanceof). Fixed bug GH-15672 and GH-15911 (Stack overflow when an interna

Linked vulnerabilities (2)

CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Use-after-free in magic method backtraces can lead to remote code execution

CWE: CWE-416Aliases: CVE-2026-129474, CVE-2026-129538, GHSA-5j3f-64r7-f564, GHSA-2fjv-p558-g82m
CVE-2026-129474 critical 9.2 EPSS 7.25% (p94) NVDCVE.orgGHSAGHSAGHSA
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Use-after-free in magic method backtraces can lead to remote code execution

CWE: CWE-416, CWE-825Aliases: GHSA-8mjj-2r7p-4hg2, CVE-2026-129538, GHSA-5j3f-64r7-f564, GHSA-2fjv-p558-g82mNVD: Awaiting Analysis

Also reported by (3)