Back to feed
44Track*

Use-after-free in PHP engine shutdown diagnostics

PHP Group PHP · CVE-2026-129182 ETK-2026-4949 EUVD-2026-130122 GHSA-2FJV-P558-G82M
0 news outlets1 CERTs and agencies0 research labs

Assessment: Track*

SSVC decision points: exploitation none, automatable yes, technical impact total, deployment high.

What is it?

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.

Evidence

Official warnings1National CERTs, government cyber security agencies and the vendor’s own advisories

Exploitation

  • Exploit code published (not verified by us)
  • Exploited in the wild (confirmed by a source)
  • Listed as known exploited (CISA KEV)
CVSS
9.2
EPSS
–
First seen
13 h ago
Status
confirmed

All PHP Group vulnerabilities