PHP2Shell - RCE (CVE-2026-109618)
Significant targeted exploitation, often with growing trend
Urgent patching recommended. Deploy blocklists. Investigate any alerts on your infrastructure.
Description
PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. In some contexts, request memory is temporarily reachable before it is fully initialized. If any allocation fails at that point, PHP does not properly account for the early exit and leaves the request memory in an invalid state, which the request shutdown procedure may then read or branch on. Multipart parsing lets a request reach OOM while remaining within its apparent limits, through a missing content length, an unrestricted number of headers per part, or empty file controls with nested field names, which can consistently trigger this condition and lead to remote code execution. Disclosed publicly as "php2shell" together with CVE-2026-109619.
psychologyCrowdSec Analysis
CVE-2026-109618 is a critical memory corruption vulnerability in PHP core, rated 9.2 on CVSS v4.0 by the PHP security team. When an out-of-memory error aborts a request while its memory is only partially initialized, the request shutdown procedure processes that invalid state. An unauthenticated attacker can force this condition with a crafted multipart request during automatic body parsing, before any application code runs, and execute arbitrary code as the web server user; this was validated against Apache mod_php with default limits. It is disclosed together with CVE-2026-109619 under the name "php2shell".
CrowdSec has been tracking this vulnerability and its exploits since 21st of October 2026.
Data from the CrowdSec community indicates that exploitation of CVE-2026-109618 is highly selective and intelligence-driven. Threat actors use advanced reconnaissance and carefully choose their targets, often as part of sophisticated campaigns or advanced persistent threat operations. CrowdSec network telemetry also shows that exploitation of CVE-2026-109618 has significantly declined over the past week. Attack volumes are well below the long-term average, suggesting attackers are rapidly losing interest. The vulnerability appears to be falling out of active use across most threat landscapes.
Attackers send multipart/form-data POST requests to any PHP endpoint crafted to exhaust PHP's memory limit during body parsing: deeply nested field names (many [...] levels), a large number of empty file controls that bypass max_file_uploads, or parts carrying an unrestricted number of headers. Detection should focus on multipart requests with field names nested a dozen levels or more, or with more than 50 file parts.
Exploitation Timeline
groupSignals collected from the CrowdSec community network.
| Event | Date |
|---|---|
| CVE Published | 2026-10-21 |
| Rule Released | 2026-10-21 |
| CrowdSec First Seen | 2026-10-21 |
| Insufficient Datatrending_upEarly Exploitation | 2026-10-22 |
| Early Exploitationtrending_upRapid Escalation | 2026-10-23 |
| CISA KEV | 2026-10-26 |
| CISA Remediation Deadline | 2026-10-29 |
Active Attackers
Unique IPs observed exploiting this CVE in the last 14 days.
Related Weaknesses
Remediation & Protection
codeAPI Access
Retrieve full intelligence data for CVE-2026-109618
External References
- https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w
- https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp
- https://calif.io/php2shell/
- https://sansec.io/research/php2shell
- https://www.upwind.io/feed/initial-assessment-php2shell-two-critical-unpatched-php-rces-cve-2026-109618-cve-2026-109619
- https://brandefense.io/blog/php2shell-php-rce-cve-2026-109618-109619/
- https://github.com/xuehuolll/CVE-2026-109618-109619-audit