patchminder
Proof of concept · GitHub CVE-2026-129182

Remote code executionin PHP.

Published 19 Nov 2026 · Updated 24 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
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 24.0% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 8.5.13 or later
In plain words

Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown. A fatal error raised while modified INI settings are restored during request shutdown can repopulate the stored fatal error backtrace after the executor has been cleaned up. The request memory is then freed, and a diagnostic emitted before executor initialization in a later request handled by the same PHP-FPM or mod_php worker can access the stale backtrace. The shutdown error requires per-path configuration of max_memory_limit, or of zlib.output_compression together with output_handler (which .user.ini can also set). The early diagnostic requires Apache per-directory configuration or, for PHP-FPM, a PHP_VALUE or PHP_ADMIN_VALUE parameter sent by the front end. This can cause memory corruption and worker crashes, and may allow remote code execution. This issue affects PHP versions 8.5.* before 8.5.13.

What to do now
  • Upgrade PHP to 8.5.13 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
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. 13 Nov 2026
    CVE ID reserved by php.
  2. 19 Nov 2026
    Published in the CVE List.
  3. 24 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-1291820 stars · created 26 Nov 2026PHP fatal backtrace repopulated after executor cleanup at shutdown. Fixed in 8.2.36/8.3.37/8.4.28/8.5.13. Differential: stale backtrace on vuln, suppressed 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-129182: Remote code execution in PHP. https://patchminder.com/cve/cve-2026-129182/ (accessed 5 December 2026).