Description
PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated after being reset. The global state may then refer to request memory even after it has been freed. Subsequent requests may read or branch on this stale state before it is fully initialized. Multiple strategies can trigger this condition and produce remote code execution (RCE).
Severity (CVSS)
| Base score | 9.2 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-416 — CWE-416 Use after free
- CWE-755 — CWE-755 Improper Handling of Exceptional Conditions
- CWE-824 — CWE-824 Access of uninitialized pointer
- CWE-1325 — CWE-1325 Improperly controlled sequential memory allocation
- CWE-1419 — CWE-1419 Incorrect Initialization of Resource
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 8.2.* to <8.2.35 [affected]; 8.3.* to <8.3.36 [affected]; 8.4.* to <8.4.27 [affected]; 8.5.* to <8.5.12 [affected] |
References
- https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp (vendor-advisory)
- https://www.wiz.io/blog/php2shell-php-rce (third-party-advisory)
- http://www.openwall.com/lists/oss-security/2026/10/21/7
- http://www.openwall.com/lists/oss-security/2026/10/21/16
- http://www.openwall.com/lists/oss-security/2026/10/21/17
- http://www.openwall.com/lists/oss-security/2026/10/21/23
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 22 Oct 2026 07:04 UTC.