Two flaws in the PHP runtime
On October 21, 2026, the PHP Security Team released patches for CVE-2026-109618 and CVE-2026-109619, collectively known as PHP2Shell. Both vulnerabilities can allow unauthenticated remote code execution.
The issues affect the PHP runtime handling HTTP requests and do not necessarily depend on a flaw in application code. PHP considers Apache with mod_php at particularly high risk, while also listing PHP-FPM, php-cgi, FrankenPHP and LiteSpeed.
The first issue involves memory handling during cleanup after out-of-memory errors. The second involves request-owned global state that may remain accessible after its backing memory has been freed.