CVE-2026-109618: PHP2Shell: PHP out-of-memory request cleanup RCE
- Vendors
- SiemensAruba NetworksCpanelPalo Alto NetworksPHP Group
CVE-2026-109618 is a memory-handling vulnerability in the PHP runtime and one of two vulnerabilities collectively known as PHP2Shell. PHP uses longjmp() to abort request processing after out-of-memory errors. Some execution contexts do not safely handle allocation failures before request state has been fully initialized, allowing subsequent cleanup to read or branch on uninitialized memory. Specially crafted HTTP requests, including multipart/form-data requests that trigger out-of-memory conditions, can exploit this behavior to achieve unauthenticated remote code execution. Initial fixed releases are PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can execute arbitrary code with the privileges and access of the affected PHP worker, compromising application confidentiality, integrity, and availability. Consequences include exposure of application source code, database credentials and API keys; modification or deletion of accessible data; and service disruption. Actual impact depends on process privileges, sandboxing, and product architecture. Root-level host compromise is not inherent and may require a separate privilege-escalation vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Until patching is complete, remove public access to affected PHP interfaces or restrict them to trusted networks and administrators. Apply vendor-supported WAF or IPS protections and enforce request-body and multipart-processing limits. AWS specifically recommends blocking request bodies larger than 8,192 bytes using its WAF body-size restriction rule for this CVE. These controls reduce particular attack paths but do not fully resolve the vulnerability. Run PHP workers with minimal privileges and isolate them from sensitive systems to limit compromise impact.
Remediation
Patch, then assume compromise.
Upgrade to PHP 8.2.35, 8.3.36, 8.4.27, or 8.5.12, or a later security-fixed release in the corresponding branch. Alternatively, install a distribution or support-provider package explicitly fixing CVE-2026-109618; backported packages may retain an older upstream version number. Migrate unsupported installations to a supported, patched release unless a validated vendor fix is available. Update bundled PHP through the responsible product vendor. Restart all PHP workers and affected web services, recreate containers from patched images, and verify that production request-handling processes use the corrected runtime. Investigate possible prior compromise because updating does not remove established attacker access.
Exploits
117 exploits validated by Mallory's analysis. Hidden: 351 rejected by Mallory's analysis as not a working exploit; 31 not yet analyzed, such as Exploit-DB entries; 416 not loaded here. Showing the 25 most capable, earliest first.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-109618 exploited in the wild?
- Yes. As of Dec 5, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Oct 26, 2026.
- Is there a public exploit for CVE-2026-109618?
- Yes. Mallory tracks 117 public exploits or proofs of concept for CVE-2026-109618, the earliest disclosed Oct 21, 2026.
- Is there a patch for CVE-2026-109618?
- Upgrade to PHP 8.2.35, 8.3.36, 8.4.27, or 8.5.12, or a later security-fixed release in the corresponding branch. Alternatively, install a distribution or support-provider package explicitly fixing CVE-2026-109618; backported packages may retain an older upstream version number.
- What products are affected by CVE-2026-109618?
- PHP Group Php, Siemens Amis Ts, Siemens Blueplanet 360 Nx3 M6 Wm Od Iisx Firmware, Siemens Blueplanet 360 Nx3 M6 Wm Od Iisx-S Firmware, Aruba Networks Clearpass Policy Manager, and 13 more.
- How severe is CVE-2026-109618?
- CVE-2026-109618 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 100.0% (100th percentile) as of Dec 5, 2026.
Recent activity
3,184 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.