PHP Group · PHP · CWE-416 · CWE-459 · published 2026-11-19
CVE-2026-129182Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown
This week EPSS 11% chance of exploitation in 30 days, with critical impact.
CVE-2026-129182 is not known to be exploited in the wild. EPSS estimates an 11% chance of exploitation in the next 30 days, higher than 96% of all CVEs. This PHP vulnerability: CVSS 9.2 (v4.0), attacks can be automated, a successful attack gives total control of the component. Patch this week.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
No fixed version is recorded here yet. Check the vendor advisory linked from the CVE record below.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 11% (96th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 9.2 (v4.0)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-416: Use After Free · CWE-459: Incomplete Cleanup
Affected versions (from the CVE record)#
- PHP Group PHP
8.5.0to before8.5.13(affected)
Description (from the CVE record)#
Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown. A fatal error raised while modified INI settings are restored during request shutdown can repopulate the stored fatal error backtrace after the executor has been cleaned up. The request memory is then freed, and a diagnostic emitted before executor initialization in a later request handled by the same PHP-FPM or mod_php worker can access the stale backtrace. The shutdown error requires per-path configuration of max_memory_limit, or of zlib.output_compression together with output_handler (which .user.ini can also set). The early diagnostic requires Apache per-directory configuration or, for PHP-FPM, a PHP_VALUE or PHP_ADMIN_VALUE parameter sent by the front end. This can cause memory corruption and worker crashes, and may allow remote code execution. This issue affects PHP versions 8.5.* before 8.5.13.
Quoted from the CVE Program record.