PHP2Shell

Disclosed Oct 21, 2026

Updated Dec 1, 2026

*2ShellCVSS 9.2CISA KEVPre-Auth RCE

Two critical memory-corruption flaws in the PHP interpreter itself reachable during request setup before any application code runs, exposing every PHP-powered site and appliance (WordPress, Laravel, Drupal, network gateways).

Component

PHP Core Request Lifecycle & Worker State

Attack Vector & Class

Pre-Auth RCE

Memory Safety

Exploitation Status

Listed in CISA KEV

KEV added Oct 26, 2026

CVSS & Ecosystems

9.2 (v4.0)

PHP

Affected Versions

  • PHP < 8.2.35, < 8.3.36, < 8.4.27, < 8.5.12
  • All end-of-life PHP 5.4 through 8.1 runtimes (including appliances)

Fixed / Recommended Versions

  • PHP 8.6.0+, 8.5.13+, 8.4.28+, 8.3.37+, or 8.2.36+ (includes Nov 19 follow-up fixes)
  • Vendor backports required for EOL PHP 8.1 and older

Technical Root Cause

CVE-2026-109618 triggers during request initialization when an out-of-memory bailout leaves request structures half-initialized and shutdown treats them as valid. CVE-2026-109619 allows freed worker state (such as default-enabled session upload progress structures) to survive across requests, leaking memory addresses, tokens, and credentials needed to chain into reliable remote code execution. Details leaked ahead of schedule and active exploitation began the same day patches shipped.

Remediation & Hardening

  1. 1Upgrade PHP immediately to 8.6.0, 8.5.13, 8.4.28, 8.3.37, or 8.2.36 (or vendor-patched builds).
  2. 2Restart all PHP-FPM workers, Apache mod_php processes, and rebuild PHP container images—installing packages alone does not patch running workers.
  3. 3Check network appliances and gateways embedding PHP runtimes for vendor emergency advisories.