# PHP2Shell: crafted HTTP requests run code on PHP web servers without a login (CVE-2026-109618, CVE-2026-109619)

> PHP2Shell: crafted HTTP requests run code on PHP web servers without a login (CVE-2026-109618, CVE-2026-109619), also tracked as CVE-2026-109618 / CVE-2026-109619 / PHP2Shell is a critical-severity threat campaign HOL Guard tracked from Oct 21, 2026 to Oct 26, 2026, verified against 9 primary sources and last reviewed Oct 26, 2026. Active tracking has ended and the record remains published as a permanent historical research record.

Canonical: https://hol.org/guard/security/campaigns/cve-2026-109618-php2shell-php-rce-emergency-update
Last reviewed: Oct 26, 2026
Tracking status: historical / inactive

## Key facts

- Severity: critical
- Confidence: high
- First observed: Oct 21, 2026
- Last observed: Oct 26, 2026
- Primary sources: 9
- Reviewed artifacts: 1

## What happened

Two critical bugs in the PHP interpreter (CVSS v4.0 9.2 each) allow unauthenticated remote code execution as the web worker. CVE-2026-109618: PHP's longjmp()-based out-of-memory bailout can leave partially initialized request memory that request shutdown later consumes; multipart parsing (unbounded per-part headers, empty file controls, nested field names) lets a request stay under post\_max\_size yet exhaust memory\_limit, and under Apache mod\_php this happens before any application code runs. CVE-2026-109619: request-owned global state (error, session, object, extension state) can survive a fatal error into the next request on the same worker and be consumed before normal initialization, a use-after-free; confirmed producers are PHP 8.5 fatal\_error\_backtraces and session upload progress. Details leaked on 2026-10-20; PHP shipped fixes 2026-10-21 in 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Hosting partners reported exploitation attempts to Patchstack and Cloudflare reported early attacks. Update 2026-10-26: CISA added both CVEs to the Known Exploited Vulnerabilities catalog (version 2026.10.26) with a 2026-10-29 due date and forensic triage required under BOD 26-04. On 2026-10-24 a researcher's honeypots running PHP 8.4.26 under Apache mod\_php recorded 35 shells launched by the web server through a four-stage chain consistent with CVE-2026-109618.

## Evidence limits

CISA does not publish the evidence behind KEV entries and lists ransomware use as unknown. The strongest public proof of code execution is on research honeypots (single-worker Apache mod\_php on PHP 8.4.26); no named real-world victim is publicly confirmed, Unit 42 retracted its 2026-10-23 government-intrusion report on 2026-10-25, and Sophos withdrew an early success claim. PHP-FPM is susceptible per source analysis for CVE-2026-109618 without a demonstrated complete exploit, while the CVE-2026-109619 session path was validated on FPM.

- Hosts on 8.5.12, 8.4.27, 8.3.36 or 8.2.35 (or a distribution build listing both CVEs fixed) are not affected
- PHP CLI scripts and workers that do not handle HTTP requests are not reachable by the documented request paths
- PHP 8.1 and older are affected and receive no upstream fix; only distribution backports
- Configuration mitigations do not fully close either bug; PHP states updating is the only complete mitigation
- Patching does not remove a web shell planted before the update
- The KEV due date of 2026-10-29 binds US federal civilian agencies only; it is a risk signal for everyone else
- No named real-world victim is publicly confirmed; Unit 42 retracted its 2026-10-23 government-intrusion report

## Timeline

- Oct 20, 2026 — disclosure: PHP security team pre-announces an emergency release for two critical vulnerabilities, scheduled 2026-10-21 14:00 UTC.
- Oct 20, 2026 — other: CERT-EU advises preparing for immediate patching or isolating internet-facing PHP applications.
- Oct 21, 2026 — first observed: Patchstack receives multiple reports of active exploitation incidents from hosting partners; Cloudflare reports early attacks at 07:43 UTC.
- Oct 21, 2026 — vendor action: PHP publishes GHSA-w8hw-w9fx-j79w and GHSA-6wmf-4rv5-p3rp; fixed in 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
- Oct 24, 2026 — first observed: Researcher honeypots (PHP 8.4.26, Apache mod\_php, single worker) record 35 shells started by the web server from two IP addresses via a four-stage memory-exhaustion and leak chain consistent with CVE-2026-109618.
- Oct 25, 2026 — retraction: Unit 42 retracts its 2026-10-23 update describing a European government intrusion via PHP2Shell; it cannot tie initial access to these CVEs.
- Oct 26, 2026 — other: CISA adds CVE-2026-109618 and CVE-2026-109619 to the Known Exploited Vulnerabilities catalog (version 2026.10.26), due 2026-10-29 with forensic triage required; ransomware use unknown.

## Reviewed artifacts

- php-src@<8.2.35 || >=8.3.0 <8.3.36 || >=8.4.0 <8.4.27 || >=8.5.0 <8.5.12 (php)

## Sources

- [PHP advisory GHSA-w8hw-w9fx-j79w (CVE-2026-109618): RCE via OOM corruption](https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w) — maintainer advisory, observed Oct 21, 2026
- [PHP advisory GHSA-6wmf-4rv5-p3rp (CVE-2026-109619): RCE via stale global state](https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp) — maintainer advisory, observed Oct 21, 2026
- [php.net news archive 2026: Upcoming Critical PHP Security Release](https://www.php.net/archive/2026.php) — vendor advisory, observed Oct 20, 2026
- [Patchstack: PHP vulnerable to critical RCE, attacks ongoing](https://patchstack.com/articles/php-major-vulnerability-alert-10-2026/) — research, observed Oct 21, 2026
- [CERT-EU advisory 2026-018: Critical Vulnerabilities in PHP](https://cert.europa.eu/publications/security-advisories/2026-018) — government, observed Oct 20, 2026
- [CISA Known Exploited Vulnerabilities catalog feed (version 2026.10.26)](https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json) — government, observed Oct 26, 2026
- [CISA alert: Critical Vulnerabilities in PHP Require Immediate Patching (revised 2026-10-26)](https://www.cisa.gov/news-events/alerts/2026/10/21/critical-vulnerabilities-php-require-immediate-patching) — government, observed Oct 26, 2026
- [SecurityWeek: PHP2Shell Exploitation Moves From Probes to Working Shells](https://www.securityweek.com/php2shell-exploitation-moves-from-probes-to-working-shells/) — research, observed Oct 26, 2026
- [Unit 42 threat brief: PHP2Shell (updated 2026-10-25, retraction of 2026-10-23 update)](https://unit42.paloaltonetworks.com/cve-2026-109618-cve-2026-109619/) — research, observed Oct 25, 2026

## Machine-readable exports

- [JSON record](https://hol.org/guard/security/campaigns/cve-2026-109618-php2shell-php-rce-emergency-update/data.json)
- [Artifact CSV](https://hol.org/guard/security/campaigns/cve-2026-109618-php2shell-php-rce-emergency-update/artifacts.csv)
- [STIX 2.1 bundle](https://hol.org/guard/security/campaigns/cve-2026-109618-php2shell-php-rce-emergency-update/stix.json)
- [Markdown record](https://hol.org/guard/security/campaigns/cve-2026-109618-php2shell-php-rce-emergency-update/index.md)

Corrections: https://hol.org/guard/security/campaigns/cve-2026-109618-php2shell-php-rce-emergency-update/corrections
