Description
PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. Some contexts may not properly account for this scenario and leave request memory in an uninitialized state before performing an allocation. The subsequent request cleanup procedure may read or branch on this memory. Multiple OOM strategies can consistently trigger this condition and lead to remote code execution (RCE).
CVSS scores
| Version | Scored by | Score | Vector |
|---|---|---|---|
| CVSS 4.0 | php (CNA) | 9.2 Critical | 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 |
| CVSS 4.0 | php.net (CNA) | 9.2 Critical | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVSS 3.1 | NVD (NIST) | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Exploitation
- Listed in the CISA Known Exploited Vulnerabilities catalog on 2026-10-26.
- U.S. federal remediation due date: 2026-10-29.
Affected products
- PHP Group PHP: from 8.2.* before 8.2.35; from 8.3.* before 8.3.36; from 8.4.* before 8.4.27; from 8.5.* before 8.5.12 · All PHP Group vulnerabilities
Fix
- github.com (vendor-advisory)
Mitigations
- Check the GitHub Security Advisory for mitigation strategies.
- CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Weakness
CWE-416 Use after free · CWE-755 Improper Handling of Exceptional Conditions · CWE-824 Access of uninitialized pointer · CWE-1325 Improperly controlled sequential memory allocation · CWE-1419 Incorrect Initialization of Resource
References
- https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w
- http://seclists.org/fulldisclosure/2026/Oct/51
- http://www.openwall.com/lists/oss-security/2026/10/21/6
- http://www.openwall.com/lists/oss-security/2026/10/23/5
- https://github.com/rapid7/metasploit-framework/pull/22139
- https://arcticwolf.com/resources/blog/php2shell-critical-php-vulnerabilities-enable-unauthenticated-remote-code-execution/
- https://cert-portal.siemens.com/productcert/html/ssa-166980.html
- https://cert-portal.siemens.com/productcert/html/ssa-566435.html
- https://cert-portal.siemens.com/productcert/html/ssa-566512.html
- https://php2shell.delftintellab.com
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-109618
- https://www.wiz.io/blog/php2shell-php-rce
Change log
- First recorded on SecureCyberVM from CVE.org, NVD, CISA KEV and FIRST EPSS.
Sources: CVE.org, NIST NVD, CISA KEV and ADP, FIRST EPSS. This record is refreshed automatically every day; changes are listed in the change log above.
