CVE-2026-109618 (dubbed 'PHP2Shell') is a critical unauthenticated RCE vulnerability in PHP 8.2โ8.5 caused by improper handling of out-of-memory conditions via longjmp(), leaving request memory in an uninitialized or corrupted state that can be exploited during cleanup to achieve remote code execution. The vulnerability affects virtually all PHP web-serving configurations (PHP-FPM, mod_php, php-cgi, FrankenPHP, LiteSpeed) and requires no authentication or user interaction, making it directly exploitable against any internet-facing PHP web server. Active exploitation has been observed in the wild with publicly available proof-of-concept code and integration into automated mass-exploitation tooling.
Data Source: CIRCL
Confidence: HIGH
Exploitation Method: DIRECT_NETWORK
CVE Published: 2026-10-21
Added to CISA KEV: 2026-10-26 5 DAYS BETWEEN CVE AND KEV
CVE-2026-109618 is a critical remote code execution (RCE) vulnerability in the PHP scripting language, collectively referred to alongside CVE-2026-109619 as "PHP2Shell." The flaw arises because PHPโs use of `longjmp()` to handle out-of-memory (OOM) errors fails to properly manage request memory, leaving it in an uninitialized or corrupted state before subsequent allocations occur. This vulnerability is highly significant because it affects nearly all PHP deployments, including those using PHP-FPM, Apache `mod_php`, `php-cgi`, FrankenPHP, and LiteSpeed, potentially allowing unauthenticated attackers to achieve full system compromise.