Security mailing lists by PureSourceCode

CVE-2026-129182

CRITICAL 9.2CVSS 4.0

Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown

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.

Published
19 Nov 2026
Last modified
24 Nov 2026
Assigned by
security@php.net
NVD status
Awaiting Analysis
Weakness
CWE-416CWE-459
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@php.net (Secondary) CVSS 4.0 CRITICAL 9.2 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/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
CVE List php CVSS 4.0 CRITICAL 9.2 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
CVE List CISA-ADP SSVC Exploitation: none; Automatable: yes; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List PHP Group PHP
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.5.0, < 8.5.13 8.5.13

References

History

  • 25 Nov 2026 20:36 UTC · CVE List: first stored (published 19 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 19 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.