On Oct 21 the PHP project released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, which fix two critical flaws that let a remote attacker with no login run code: CVE-2026-109618 (GHSA-w8hw-w9fx-j79w, memory corruption after an out-of-memory condition) and CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp, stale global state).4 The project lists PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed as affected, and calls mod_php the highest risk, with a demonstrated exploit.4
PHP 8.1 and older get no update from the project; it published minimal source backports for 7.4, 8.0 and 8.1 instead.4 If you can't update yet, the project's interim mitigations are memory_limit=-1, a low post_max_size (8M, or 32M with uploads), session.upload_progress.enabled=0 and, on 8.5, fatal_error_backtraces=0.4 On Oct 23 it added an informational advisory, CVE-2026-115560, on session upload progress in an unusual configuration, with a full advisory due with the next release.4
CISA's alert (revised Oct 23 to add a SIGMA detection rule) says it has not observed successful exploitation. It asks organizations to inventory PHP, patch internet-facing systems first, and take offline systems that can't be updated or that run PHP 8.1 or earlier.5
Who found it: Wiz says it found both flaws and that they affect "70% of the Internet"; that figure is Wiz's claim, not something we could check.6 OpenAI says the security firm Calif found one of the flaws using one of its models, and calls it one of the most impactful security issues in recent memory; that is OpenAI's claim.7 PHP's maintainers led the fix.4 Docker published guidance for its customers on Oct 22.8
PHP 8.6.0 RC4 includes the fixes; RC5 is planned for Nov 5, 2026.4 Our analysis of this month's supply-chain incidents puts PHP2Shell in context.
Sources
- SpaceX — Final prospectus (Form 424B4) (Jun 12, 2026), voting control, xAI and competitors
- Tesla — Form 8-K on its agreement to invest in xAI
- SpaceX — Form 8-K, completion of the acquisition of Anysphere (Cursor) (Aug 14, 2026)
- PHP — Security advisory: critical remote code execution vulnerabilities, update now (Oct 21, 2026), and informational advisory (Oct 23, 2026)
- CISA — Critical Vulnerabilities in PHP Require Immediate Patching (Oct 21, 2026; revised Oct 23)
- Wiz — PHP2Shell: AI uncovers critical RCE vulnerabilities (Oct 21, 2026)
- OpenAI — Patch the Planet: global response coordination as agents uncover critical vulnerabilities (Oct 21, 2026)
- Docker — Security update on PHP2Shell: impact for Docker customers (Oct 22, 2026)
Corrections: none so far. We fix errors in the open, note them here and on the corrections log. Spotted one? Email editors@software-lifecycle.com.