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).
https://php2shell.delftintellab.com
https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w
https://cert-portal.siemens.com/productcert/html/ssa-566435.html
https://www.securityweek.com/china-linked-hackers-exploit-php2shell-to-root-firewalls/
https://thehackernews.com/2026/10/php2shell-attack-roots-25-servers.html
https://thehackernews.com/2026/10/attackers-exploit-php2shell-flaws-in.html
https://www.securityweek.com/php2shell-patches-land-as-first-exploitation-attempts-hit-sensors/
Published: 2026-10-21
Updated: 2026-11-05
Named Vulnerability: php2shellNamed Vulnerability: PHP2shellNamed Vulnerability: PHP2ShellKnown Exploited Vulnerability (KEV)
Base Score: 10
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C
Severity: Critical
Base Score: 9.8
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: Critical
Base Score: 9.2
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
Severity: Critical
EPSS: 0.99999
Tenable Research has classified this CVE under the following Vulnerability Watch classification, which includes active and historical (inactive) classifications. You can learn more about these classifications on our blog.
Vulnerability of Concern