patchminder
Proof of concept · GitHub CVE-2026-129481

Code executionin PHP.

Published 19 Nov 2026 · Updated 19 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 9.2
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 8.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 8.3.37, 8.4.28, 8.5.13
In plain words

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.

What to do now
  • Upgrade PHP to 8.3.37, 8.4.28, 8.5.13 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
PHP
8.3.0 to before 8.3.37
8.3.37
CVE record
PHP
8.4.0 to before 8.4.28
8.4.28
CVE record
PHP
8.5.0 to before 8.5.13
8.5.13
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Nov 2026
    CVE ID reserved by php.
  2. 19 Nov 2026
    Published in the CVE List.
  3. 19 Nov 2026
    CVE record last updated.
  4. 26 Nov 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundgooglesky/CVE-2026-1294810 stars · created 26 Nov 2026PHP session shutdown: fatal in a callback retains the script filename pointer, causing use-after-free. Fixed in 8.2.36/8.3.37/8.4.28/8.5.13. Differential: UAF on vuln, pointer cleared on fixed

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.

Related

Other PHP vulnerabilities

Same weakness: Use after free

All CWE-416 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-129481: Code execution in PHP. https://patchminder.com/cve/cve-2026-129481/ (accessed 5 December 2026).