CVE-2026-129481PHP ext-session >= 8.3.0, Use After Free
NVD
Vulnerability Summary
Use-after-free after interrupted session shutdown. PHP can retain a pointer to a script filename after session shutdown is interrupted and the request memory has been released. A later request handled by the same worker can then release the stale string, causing a heap use-after-free. This is an incomplete fix for CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp). It affects PHP 8.3 and later. PHP 8.2 does not contain the affected session filename field.
CVSS v4.0 Base Metrics — Score 9.2 (CRITICAL)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- PHP ext-session >= 8.3.0, < 8.3.37
- PHP ext-session >= 8.4.0, < 8.4.28
- PHP ext-session >= 8.5.0, < 8.5.13
- PHP 8.3.37
- PHP 8.4.28
- PHP 8.5.13
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.
- Check whether you run PHP ext-session >= 8.3.0, and which version.
- Update to a patched version listed above, then confirm the new version.
- Until you can update, follow the vendor workaround: The fix clears the recorded session filename and line number during session initialization. It also terminates the PHP process if a module's request-shutdown handler bails out, preventing the process from handling another request with only partially cleaned-up state.
- Until you can update, follow the vendor workaround: Until the update is available, avoid fatal errors in callbacks reached during session cleanup. For PHP-FPM, setting pm.max_requests=1 and restarting the workers prevents the demonstrated sequence from reaching a second request in the same worker, at a performance cost.
- Until you can update, follow the vendor workaround: Disabling session upload progress does not address this path. Enabling OPcache alone is not a reliable mitigation because scripts can still execute without being cached.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new PHP ext-session >= 8.3.0, CVEsYou are reading CVE-2026-129481. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
Data last checked: Nov 19, 2026 14:43 UTC