Skip to main content
Mallory
CriticalVulnerability

CVE-2026-129182: PHP 8.5 Fatal-Error Backtrace Use-After-Free After Shutdown

Published Nov 19, 2026 · Updated today
Trending this week#43of 432,629 vulnerabilities
Mention activity · 30 days74 mentions · peak 43 in a dayToday
CVSS9.2Critical · v4
EPSS8.5%95th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
PHP Group
IdentifiersCVE-2026-129182CWE-416 · Use After Free

CVE-2026-129182 is a use-after-free vulnerability affecting PHP 8.5.0 through 8.5.12. A fatal error raised while modified INI settings are restored during request shutdown can repopulate the last_fatal_error_backtrace global after executor cleanup. Request memory is subsequently freed, leaving a stale backtrace that an early diagnostic in a later request handled by the same PHP-FPM or Apache mod_php worker can access before executor initialization. The vulnerability addresses shutdown scenarios not prevented by the PHP 8.5.12 fix for CVE-2026-109619. Exploitation can cause memory corruption and worker crashes and could potentially permit remote code execution.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Heap use-after-free and worker crashes have been demonstrated, allowing denial of service under the required configuration and request-lifecycle conditions. Memory corruption could potentially lead to arbitrary code execution with the PHP worker's privileges and compromise confidentiality, integrity, and availability. Code execution through this specific vulnerability path has not been demonstrated.

Mitigation

If you can’t patch tonight, do this now.

Administratively set fatal_error_backtraces=0 and restart all workers. Apply the setting through effective administrative configuration that request-specific settings cannot override. This is an interim mitigation, not a substitute for patching.

Remediation

Patch, then assume compromise.

Upgrade PHP 8.5 deployments to PHP 8.5.13 or a later supported fixed release, or install a vendor package explicitly incorporating the fix. The fix prevents creation or consumption of fatal-error backtraces while the executor is inactive. Restart PHP-FPM or Apache so all workers load the patched runtime; rebuild and redeploy affected container images. Verify the runtime actually serving web requests and consult vendor package revisions when fixes are backported.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
PHP GroupPhpapplication
FAQ

Frequently asked questions

Is CVE-2026-129182 exploited in the wild?
As of Nov 23, 2026, Mallory has no reports of CVE-2026-129182 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-129182?
As of Nov 23, 2026, Mallory has found no public exploit for CVE-2026-129182.
Is there a patch for CVE-2026-129182?
Upgrade PHP 8.5 deployments to PHP 8.5.13 or a later supported fixed release, or install a vendor package explicitly incorporating the fix. The fix prevents creation or consumption of fatal-error backtraces while the executor is inactive.
What products are affected by CVE-2026-129182?
PHP Group Php.
How severe is CVE-2026-129182?
CVE-2026-129182 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 8.5% (95th percentile) as of Nov 23, 2026.
Activity feed

Recent activity

76 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
csirt skNews · Nov 23, 2026Kritické zraniteľnosti PHP | CSIRT.SKCritical PHP use-after-free associated with repopulating the last_fatal_error_backtrace global after shutdown, rated CVSS v4 9.2. It can cause memory corruption and worker crashes and may permit unauthenticated remote code execution.Read more ↗malware newsNews · Nov 20, 2026CVE-2026-129289 and Other Critical PHP Vulnerabilities: What WordPress Site Owners Need to Know - Malware News - Malware Analysis, News and IndicatorsCritical PHP 8.5 fatal-error backtrace memory error requiring particular error-reporting or server settings and application behavior. Code execution was not demonstrated for this specific path. The November fixed release addresses the affected branch.Read more ↗wordfenceNews · Nov 20, 2026CVE-2026-129289 and Other Critical PHP Vulnerabilities: What WordPress Site Owners Need to Know CVE-2026-129289: What WordPress Site Owners Need to KnowCritical PHP 8.5 fatal-error backtrace memory vulnerability requiring particular error-reporting or server settings and application behavior. Code execution was not demonstrated for this specific path. The article considers it a lower priority for a general WordPress warning while still recommending patching. PHP 8.5.13 addresses the issue.Read more ↗cloudflare blogNews · Nov 20, 2026How Cloudflare WAF helps protect against phpAfterShell and other critical PHP flaws | Cloudflare BlogCritical use-after-free involving fatal-error backtraces in PHP 8.5. Exploitation depends on specific path-level settings and an Apache per-directory configuration or front end producing an early diagnostic. No code execution was demonstrated. Fixed releases are available; disabling fatal-error backtraces on PHP 8.5 reduces exposure. No dedicated WAF rule is provided.Read more ↗
+41 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity23Community discussion across Reddit, Mastodon, and other social sources.