22/10/2026
💥 BREAKING: PHP2SHELL — CRITICAL RCE IN PHP CORE — CVSS 9.2 — PATCH NOW
Two critical bugs in PHP itself, not WordPress, not Laravel, not plugin — dubbed PHP2SHELL. Unauthenticated RCE before your app code even runs.
CVE-2026-109618 — RCE via OOM corruption (GHSA-w8hw-w9fx-j79w)
→ Out-of-memory interrupts while request data partially initialized, cleanup treats invalid data as valid
CVE-2026-109619 — RCE via stale global state (GHSA-6wmf-4rv5-p3rp)
→ Request-owned state survives after memory freed, later request on same worker uses stale refs
PATCH NOW:
→ 8.5 → 8.5.12 ✅
→ 8.4 → 8.4.27 ✅
→ 8.3 → 8.3.36 ✅
→ 8.2 → 8.2.35 ✅ (supported until Dec 31, 2026)
→ 8.6 → RC4 testing only
→ 8.1, 8.0, 7.4 → no official release — minimal source backports in php-src, need vendor LTS or upgrade
CRITICAL ACTIONS:
1. Upgrade binary to fixed release for YOUR branch immediately
2. Restart ALL PHP workers — systemctl restart php*-fpm + Apache reload / FrankenPHP restart — on-disk upgrade alone doesn't fix in-memory workers
3. WAF helps but NOT complete mitigation — patch is only complete fix per PHP.net — no complete workaround
HARDENING UNTIL YOU PATCH (Slide 6):
→ pm.max_requests = 100 in /etc/php/8.x/fpm/pool.d/www.conf — recycle FPM workers purges stale heap addresses
→ Reduce memory_limit, post_max_filesize, upload_max_filesize
→ Enable Cloudflare managed rules
→ Hunt: check logs for OOM errors, large multipart uploads, Sigma rules
→ If vulnerable Oct 17-21 — assume breach — rotate secrets, DB creds, audit for webshells
Wordfence confirms WordPress updates do NOT address underlying PHP exposure.
This is biggest PHP core RCE since decade.
Follow — I break critical vulns into patch playbooks.
💾 Save for your DevOps / Infra team — patch TODAY
📤 Share to CTO — active exploitation