PHP2Shell: two critical pre-authentication RCE flaws in PHP core
What happened. PHP's 21 October advisory covers CVE-2026-109618 (GHSA-w8hw-w9fx-j79w), where out-of-memory handling can leave request data partly initialised, and CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp), where request-owned state can survive after its memory is freed. Affected: 8.2.x before 8.2.35, 8.3.x before 8.3.36, 8.4.x before 8.4.27 and 8.5.x before 8.5.12, per the CVE records. PHP says all installations serving web requests are at risk, highest under Apache mod_php, and provided source backports for 7.4, 8.0 and 8.1.
Impact. Unauthenticated remote code execution. CISA lists both as known exploited (added 26 October 2026) and its enrichment says exploitation is active. PHP lists partial measures (memory_limit=-1, a low post_max_size, request limits at the web server, session.upload_progress.enabled=0) and says they do not make an installation safe.
Sources: php.net advisory · GHSA-w8hw-w9fx-j79w · GHSA-6wmf-4rv5-p3rp · CVE record · CISA KEV