PHP: Remote Code Execution via Stale Global State
CISA confirms exploitation of this vulnerability in real attacks. Prioritise checking whether your application is affected. CISA KEV · CC0 1.0
PHP maintains various global states that temporarily point to request memory. Under certain conditions, global state may not be reset correctly, or it may be repopulated after being reset. As a result, the global state can continue to reference request memory even after that memory has been freed. Subsequent requests may read or branch on this stale state before it is fully initialized. Multiple strategies can trigger this condition, potentially leading to remote code execution (RCE).
What to do
Upgrade PHP to version 8.2.35, 8.3.36, 8.4.27, 8.5.12, or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| PHP (interpreter) | PHP | >= 8.2.0, < 8.2.35, >= 8.3.0, < 8.3.36, >= 8.4.0, < 8.4.27, >= 8.5.0, < 8.5.12 < 8.2.35; < 8.3.36; < 8.4.27; < 8.5.12 |
8.2.35, 8.3.36, 8.4.27, 8.5.12 |
References
- CVSS 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- Weakness (CWE)
CWE-416, CWE-755, CWE-824, CWE-1325, CWE-1419- Platform
- PHP
- Package
PHP- Disclosed
- 21.10.2026
- Updated
- 04.11.2026 10:00
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
PHP Security Advisories - GHSA-6wmf-4rv5-p3rp - CVE Terms of Use
Copyright 1999-2026 The MITRE Corporation
Copyright 1999-2026 The MITRE Corporation
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.
https://www.cve.org/Legal/TermsOfUseVulnerability history: PHP
All published vulnerabilities of this package (PHP (interpreter)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 78
- First → latest
- 02.2023 11.2026
- Without a fix
- 1
- Exploited in attacks
- 3
Severity breakdown
- Critical 11
- High 16
- Medium 42
- Low 9
Disclosures per year
- 2023: 5
- 2024: 17
- 2025: 12
- 2026: 44
-
PHP: Remote Code Execution via Stale Global State this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.