Code executionin PHP.
Proof of concept public (GitHub).
Use-after-free after interrupted session shutdown. The session extension records the filename of the executing script when a session starts. If a fatal error occurs in an application callback while the session variables are destroyed at shutdown, such as stream_close() of a user-defined stream wrapper, the pointer is retained after the request memory is freed, and a later request handled by the same worker can free the stale string. An attacker who can trigger such a failing cleanup may crash the worker or corrupt memory; code execution has not been demonstrated. This requires the filename to be allocated in request memory, for example when the script is not cached by OPcache. This issue affects PHP versions 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
- Upgrade PHP to 8.3.37, 8.4.28, 8.5.13 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 15 Nov 2026CVE ID reserved by php.
- 19 Nov 2026Published in the CVE List.
- 19 Nov 2026CVE record last updated.
- 26 Nov 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other PHP vulnerabilities
Same weakness: Use after free
- github.com vendor-advisory
Patchminder. CVE-2026-129481: Code execution in PHP. https://patchminder.com/cve/cve-2026-129481/ (accessed 5 December 2026).