Skip to main content
Mallory
CriticalVulnerability

CVE-2026-129481: PHP Session Shutdown Use-After-Free

Published Nov 19, 2026 · Updated today
Trending this week#20of 432,692 vulnerabilities
Mention activity · 30 days198 mentions · peak 163 in a dayToday
CVSS9.2Critical · v4
EPSS3.5%90th 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 PHP's session extension caused by interrupted session shutdown. When a session starts, the extension records the executing script's filename. A fatal error in an application callback invoked during destruction of session variables, such as a user-defined stream wrapper's stream_close() callback, can interrupt cleanup and leave the filename pointer intact after request memory is freed. A subsequent request handled by the same worker can attempt to free the stale string, causing a worker crash or memory corruption. Exploitation requires the filename to reside in request-owned memory rather than persistent OPcache memory. The vulnerability is an incomplete fix for CVE-2026-109619 and affects PHP 8.3 releases before 8.3.37, PHP 8.4 releases before 8.4.28, and PHP 8.5 releases before 8.5.13.

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 crash a reused PHP worker and disrupt request processing, or corrupt its heap memory. Memory errors and crashes have been demonstrated; code execution through this specific vulnerability has not. The triggering and subsequent requests need not belong to the same user or session, allowing the effects of corrupted worker state to cross request boundaries.

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 overhead of replacing workers after every 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 individual scripts may still execute without being cached. These measures do not replace patching.

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. Vendor packages containing backported fixes are also suitable; verify the complete package revision against the applicable vendor advisory. The fix clears the recorded session filename and line number during session initialization and terminates the process if a module request-shutdown handler bails out, preventing reuse of partially cleaned-up worker state. Restart PHP-serving services so all workers load the patched runtime; rebuild and redeploy affected container images. Verify the runtime actually serving web requests rather than relying solely on the command-line PHP version.

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-129481 exploited in the wild?
As of Nov 24, 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 24, 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. Vendor packages containing backported fixes are also suitable; verify the complete package revision against the applicable vendor advisory.
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 3.5% (90th percentile) as of Nov 24, 2026.
Activity feed

Recent activity

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

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