Skip to main content
Mallory
CriticalVulnerability

CVE-2026-129474: Remote Code Execution in PHP 8.5 Magic-Method Backtraces

Published Nov 19, 2026 · Updated today
Trending this week#24of 432,696 vulnerabilities
Mention activity · 30 days160 mentions · peak 123 in a dayToday
CVSS9.2Critical · v4
EPSS9.3%96th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
PHP Group
IdentifiersCVE-2026-129474CWE-416 · Use After Free

CVE-2026-129474 is a use-after-free vulnerability in PHP engine backtrace argument collection, affecting PHP 8.5.0 through 8.5.12. While entering a call handled by __call() or __callStatic(), PHP can collect stale argument values that reference freed memory. A fatal error at this point, such as exceeding memory_limit, can trigger unsafe memory access when fatal_error_backtraces is enabled and zend.exception_ignore_args is disabled. An attacker with sufficient influence over request-driven memory allocation can cause memory corruption or worker crashes and, with knowledge of usable memory addresses, execute arbitrary code. PHP's standard production configuration enables zend.exception_ignore_args, blocking the demonstrated fatal-error exploitation path.

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.

Successful exploitation can execute arbitrary code with the PHP worker's privileges, compromising data and application resources accessible to that account. Failed or partial exploitation can corrupt process memory or crash a PHP worker, causing denial of service. Code execution has been demonstrated under specific application and runtime conditions; exposure does not imply that every application using PHP 8.5 is exploitable.

Mitigation

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

Set zend.exception_ignore_args=1 in the effective configuration used by PHP workers and restart them. Alternatively, set fatal_error_backtraces=0 to block the demonstrated fatal-error exploitation path. Check effective settings across PHP-FPM pools and application overrides. Disabling display_errors alone does not prevent backtrace construction. Request-size limits and reducing expensive processing or logging of untrusted request bodies can reduce exposure but do not replace patching or the configuration workaround.

Remediation

Patch, then assume compromise.

Upgrade PHP 8.5 installations to version 8.5.13 or a later supported fixed release, or install a vendor package explicitly incorporating the fix. Restart all affected PHP-serving processes so workers load the patched runtime. Rebuild and redeploy affected container images rather than merely restarting existing containers. Verify the runtime serving web requests and the complete vendor package revision; the command-line PHP version may differ.

Public exploits

Exploits

No validated public exploits yet. Hidden: 2 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
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-129474 exploited in the wild?
As of Nov 24, 2026, Mallory has no reports of CVE-2026-129474 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-129474?
As of Nov 24, 2026, Mallory has found no public exploit for CVE-2026-129474.
Is there a patch for CVE-2026-129474?
Upgrade PHP 8.5 installations to version 8.5.13 or a later supported fixed release, or install a vendor package explicitly incorporating the fix. Restart all affected PHP-serving processes so workers load the patched runtime.
What products are affected by CVE-2026-129474?
PHP Group Php.
How severe is CVE-2026-129474?
CVE-2026-129474 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 9.3% (96th percentile) as of Nov 24, 2026.
Activity feed

Recent activity

162 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 in magic-method backtraces, rated CVSS v4 9.2. Collecting arguments for calls handled by __call() or __callStatic() can read stale values referencing freed memory. During a fatal error, an unauthenticated remote attacker with sufficient control over request data and memory allocation may cause memory corruption or worker crashes; knowledge of memory addresses may enable arbitrary 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. An attack was demonstrated, but PHP's standard php.ini-production configuration blocks it. 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. An attack was demonstrated, but PHP's standard php.ini-production configuration blocks that attack. 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 magic-method fatal-error backtraces in PHP 8.5 and later, where fatal-error backtraces are enabled by default. Setting zend.exception_ignore_args=1 blocks the demonstrated attack. The article also recommends disabling fatal-error backtraces on PHP 8.5 as an interim measure. Fixed releases are available; there is no dedicated WAF rule.Read more ↗
+118 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 activity31Community discussion across Reddit, Mastodon, and other social sources.