CVE-2026-129481: PHP memory corruption in session shutdown cleanup
cve.now CVE Critical · 9.2 Fix available
PHP's session extension has a use-after-free flaw: if a fatal error occurs in an application callback during session shutdown, a stale pointer to the script filename can later be freed by another request handled by the same worker. An attacker who can trigger such a failing cleanup could crash the worker or corrupt memory, reaching it remotely without logging in, though it only applies when the filename sits in request memory, such as when the script is not cached by OPcache.
Severity
- CVSS 9.2 (cna)
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Exposure: Unclear
Affected
- Vendors: PHP Group
- Products: PHP
Fix
- Fixed in 8.3.37, 8.4.28, 8.5.13
References
Source
Copied from cve.now/CVE-2026-129481. The summary was written by a model at cve.now and is shared under CC BY 4.0.
Replies 0
No replies yet.
Evidence
- Reported
- 2026-11-19T15:00:04.069088Z
- Report ID
f6d94351-e8df-42db-9e1c-2a0765b1e422