Skip to main content
No exploitation reportedAwaiting NVD analysis

CVE-2026-129182

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

No exploitation reported by the sources we read.

  • Published2026-11-19
  • WeaknessCWE-416 · CWE-459

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2026-11-1914:41CVE publishedCNA

Versions per branch

Products declared by the CNA1 product

As php, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • PHP Group PHPother versions: not affected
    Affected
    • ≥ 8.5.0, < 8.5.13fixed in 8.5.13semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-19

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • php-8.5Wolfiall versions · fixed in 8.5.13-r0and 93 other packages
  • php-8.5Echoall versions · fixed in 8.5.13+e1and 1 other package
  • php-8.5Chainguardall versions · fixed in 8.5.13-r0and 99 other packages
  • php-8.6Wolfiall versions · fixed in 8.6.0-r0and 93 other packages
  • php-8.6Chainguardall versions · fixed in 8.6.0-r0and 93 other packages
  • php5Ubuntu:Pro:14.04:LTSall versions · no fixed version listed
  • php7.0Ubuntu:Pro:16.04:LTSall versions · no fixed version listed
  • php7.2Ubuntu:Pro:18.04:LTSall versions · no fixed version listed

5 more package ranges on OSV.dev

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-11-19
  • CISA-ADPSSVC decisionnone2026-11-19
  • CNACVSS 4.09.22026-11-19
  • CNAweakness (CWE)CWE-416, CWE-4592026-11-19
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 4.0 vector
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
Published
2026-11-19
Last Modified
2026-11-19
NVD status
Awaiting Analysis

Frequently asked questions

What is CVE-2026-129182?

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.

Is CVE-2026-129182 actively exploited?

Active exploitation of CVE-2026-129182 has not been confirmed.

What is the CVSS score for CVE-2026-129182?

CVE-2026-129182 has a CVSS v3 base score of 8.1 (High severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running php-8.5? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record