Skip to main content
Mallory
CriticalVulnerability

CVE-2026-129481: Use-after-free in PHP session shutdown

Published Nov 19, 2026 · Updated today
Trending this week#70of 434,997 vulnerabilities
Mention activity · 30 daysAt least 200 mentions · peak 140 in a dayToday
CVSS9.2Critical · v4
EPSS8.6%96th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
PHP Group
IdentifiersCVE-2026-129481CWE-416 · Use After Free

CVE-2026-129481 is a heap use-after-free vulnerability in the PHP session extension affecting PHP 8.3.x before 8.3.37, 8.4.x before 8.4.28, and 8.5.x before 8.5.13. When a session starts, the extension records the executing script's filename. A fatal error in an application callback invoked while session variables are destroyed during shutdown, such as stream_close() in a user-defined stream wrapper, can interrupt cleanup and leave the filename pointer intact after request memory is freed. A subsequent request handled by the same worker can release the stale string, causing memory corruption or a worker crash. Exploitation requires the filename to reside in request-owned memory rather than persistent OPcache memory. The vulnerability represents an incomplete fix for CVE-2026-109619. Code execution has not been demonstrated.

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.

Exploitation can corrupt PHP worker memory or crash the worker, disrupting request processing and potentially causing denial of service. The stale state persists across requests within a reused worker; the triggering and subsequent requests need not belong to the same user or session. Arbitrary code execution is a potential consequence of the memory corruption but has not been demonstrated for this vulnerability.

Mitigation

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

For PHP-FPM, set pm.max_requests=1 and restart workers to prevent the demonstrated cross-request sequence, accepting the performance cost of replacing workers after each request. Avoid fatal errors in application callbacks invoked during session cleanup. Disabling session upload progress does not address this vulnerability. Enabling OPcache alone is not reliable protection because scripts may execute without being cached.

Remediation

Patch, then assume compromise.

Upgrade to PHP 8.3.37, 8.4.28, or 8.5.13, or a later fixed release for the deployed branch. Alternatively, install vendor packages containing the corresponding backported fix. The fix clears the recorded session filename and line number during session initialization and terminates the PHP process if a module request-shutdown handler bails out, preventing reuse of partially cleaned-up worker state. Restart PHP-serving services after updating; rebuild and redeploy affected containers and verify that all serving replicas use fixed builds.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 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-129481 exploited in the wild?
As of Nov 28, 2026, Mallory has no reports of CVE-2026-129481 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-129481?
As of Nov 28, 2026, Mallory has found no public exploit for CVE-2026-129481.
Is there a patch for CVE-2026-129481?
Upgrade to PHP 8.3.37, 8.4.28, or 8.5.13, or a later fixed release for the deployed branch. Alternatively, install vendor packages containing the corresponding backported fix.
What products are affected by CVE-2026-129481?
PHP Group Php.
How severe is CVE-2026-129481?
CVE-2026-129481 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 8.6% (96th percentile) as of Nov 28, 2026.
Activity feed

Recent activity

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

View more in app →
+171 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 activity13Community discussion across Reddit, Mastodon, and other social sources.