CVE-2026-129474: Use-after-free in magic method backtraces can lead to remote code execution
Vulnerability summary
CVE-2026-129474 is a critical (CVSS 9.2) Use After Free vulnerability in php group php. EPSS estimates a 8.65% chance of exploitation in the next 30 days, higher than 95.2% of scored vulnerabilities.
Severe, CVSS 9.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 9% (FIRST, 20-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 19-11-2026PublishedVulnerability first disclosed.
- 20-11-2026Last modifiedVulnerability information updated.
Description
Use-after-free in magic method backtraces can lead to remote code execution. When collecting the arguments of a method call handled by __call() or __callStatic() for a backtrace, PHP can read stale values that may refer to freed memory. If a fatal error such as exceeding memory_limit occurs while an application enters such a call, with fatal_error_backtraces enabled (the default) and zend.exception_ignore_args disabled, a remote attacker who controls enough request data to influence memory allocation may cause memory corruption, crash the PHP worker or, with knowledge of memory addresses, execute arbitrary code. php.ini-production enables zend.exception_ignore_args, which prevents this. This issue affects PHP versions 8.5.* before 8.5.13.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST9.2CriticalCVSS: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
- OSV · UbuntuEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS trend
Probability
8.65%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard194 products
- php-8.5< 8.5.13-r0
- php-8.5-apache< 8.5.13-r0
- php-8.5-bcmath< 8.5.13-r0
- php-8.5-bcmath-config< 8.5.13-r0
- php-8.5-bz2< 8.5.13-r0
Wolfi6 products
- php-8.5< 8.5.13-r0
- php-8.5-apache< 8.5.13-r0
- php-8.5-bcmath< 8.5.13-r0
- php-8.5-bcmath-config< 8.5.13-r0
- php-8.5-bz2< 8.5.13-r0
2 vendors · 200 products · Showing 200 of 390