CVE-2026-129182Critical· 9.2▾ MidnightUse-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 executo…
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 50.6 · likelihood 2.2 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Stakeholder-Specific Vulnerability Categorization from CISA's ADP record at CVE.org: whether exploitation is observed, whether an attack can be automated, and how much of the system is at stake. The CVSS score shown above comes from the assigning CNA record, not NVD.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via CVEORG
11%
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.
PHP >= 8.5.0 < 8.5.13Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
Field changes observed since this record was first indexed.
Connected by shared product, vendor, weakness, or advisory.
CVE-2026-129481Critical· 9.2Use-after-free after interrupted session shutdown
CVE-2026-129496Critical· 9.2Timezone cache use-after-free can lead to remote code execution
CVE-2026-129506Medium· 6.3SOAP use-after-free when processing DTD entity references
CVE-2026-129474Critical· 9.2Use-after-free in magic method backtraces can lead to remote code execution
CVE-2026-129291High· 8.8PHP-FPM epoll use-after-free can lead to local privilege escalation
CVE-2026-129501Medium· 6.3Double free during DOM XML serialization