CVE-2026-129182: Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown
PHP Group · PHP
Fixed in 8.5.13 · Affected: PHP Group before 8.5.13 · Exploitation: not established
At a glance
No EPSS score yet. The score appears once FIRST publishes it.
What it isNVD
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.
ExploitationNot established
Not in CISA KEV as of catalogue 2026.11.18 (18 Nov)
- Not establishedNothing in the sources we check
Not seen so far: in CISA KEV · exploited (reported) · scanning observed · proof of concept public.
Weakness and public checks
- Public check
- No public nuclei template
- Weakness
- Use After Free · Memory Corruption
Other CVEs in PHP
Every published CVE for PHP Group PHP, by how far exploitation has gone. This one is among them.
Coverage3 articles · 3 outlets
One row per outlet, in order of first report. First in our coverage: The Hacker News, 19 Nov.
- Thu 19 Nov, 15:30 UTC. The Hacker News, first report. PHP fixes eight flaws that could enable remote code execution.
- Thu 19 Nov, 16:01 UTC. SecurityWeek, its first report on the story. PHP fixes seven critical RCE flaws in latest four week patch batch.
- Thu 19 Nov, 16:01 UTC. SecurityOnline, its first report on the story. PHP Nov 2026 Update Fixes 12 Flaws, Incl. RCE CVE-2026-129289.
- First report
- Article
- Running total
Show as tableHide table
| Published (UTC) | Outlet | Headline |
|---|---|---|
| 19 Nov 15:30 | The Hacker News | PHP fixes eight flaws that could enable remote code execution |
| 19 Nov 16:01 | SecurityWeek | PHP fixes seven critical RCE flaws in latest four week patch batch |
| 19 Nov 16:01 | SecurityOnline | PHP Nov 2026 Update Fixes 12 Flaws, Incl. RCE CVE-2026-129289 |
- PHP Nov 2026 Update Fixes 12 Flaws, Incl. RCE CVE-2026-129289SecurityOnline · mentions it in passing
- PHP fixes seven critical RCE flaws in latest four week patch batchSecurityWeek · mentions it in passing
- PHP fixes eight flaws that could enable remote code executionThe Hacker News · first in our coverage · mentions it in passing
New articles also arrive in the RSS feed.