CVE-2026-109618: PHP2Shell: PHP Out-of-Memory Cleanup Remote Code Execution
- Vendors
- SiemensAruba NetworksCpanelPalo Alto NetworksPHP Group
CVE-2026-109618 is a memory-corruption vulnerability in the PHP engine and one of the two vulnerabilities collectively known as PHP2Shell. PHP uses longjmp() to abort request processing after an out-of-memory error. If this interrupts request initialization, request-owned structures can remain partially initialized, while subsequent cleanup routines assume their contents are valid. Cleanup may consequently read or branch on uninitialized memory, enabling unauthenticated remote code execution. Vulnerable supported branches include PHP 8.2 before 8.2.35, 8.3 before 8.3.36, 8.4 before 8.4.27, and 8.5 before 8.5.12; older unsupported branches are also affected. Exposure includes Apache mod_php, PHP-FPM, php-cgi, FrankenPHP, LiteSpeed, and products embedding vulnerable PHP runtimes.
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 of the PHP worker process, compromising application data and credentials accessible to that account and permitting unauthorized modification or deletion of data. Crafted requests can also crash PHP and disrupt service. The scope depends on worker permissions, isolation, and product architecture; root access is not inherent to this vulnerability. Exploitation has provided initial access to network appliances, followed by separate local privilege-escalation vulnerabilities to obtain root privileges.
Mitigation
If you can’t patch tonight, do this now.
No configuration-only measure completely resolves this vulnerability. Restrict vulnerable PHP interfaces to trusted networks and remove public management access; isolate or suspend exposed services if adequate protection cannot be maintained before patching. Setting memory_limit=-1 through non-overridable configuration reduces PHP memory-limit-triggered paths, but underlying allocation failures remain exploitable. Enforce request-size and parsing limits at the web server or reverse proxy and deploy current vendor WAF or IPS protections. AWS recommends its WAF Core rule set's SizeRestrictions_BODY rule to block request bodies larger than 8,192 bytes as a partial measure. Avoid RLIMIT_AS or RLIMIT_DATA as workarounds because they can provoke vulnerable allocation failures. Disabling session upload progress does not protect against CVE-2026-109618.
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 applicable branch. Alternatively, install an official distribution or support-provider package explicitly addressing CVE-2026-109618; backported packages may retain older upstream version numbers. Migrate unsupported PHP branches to supported releases unless verified vendor backports are available. Update embedded PHP through the appliance or application vendor. Restart all relevant Apache, PHP-FPM, CGI, and other PHP workers, and rebuild and recreate containers where applicable. Verify the runtime actually serving requests, rather than relying solely on package inventory or the command-line PHP version. Investigate previously exposed systems because patching does not remove an existing compromise.
Exploits
113 exploits validated by Mallory's analysis. Hidden: 355 rejected by Mallory's analysis as not a working exploit; 30 not yet analyzed, such as Exploit-DB entries; 410 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 Nov 28, 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 113 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 applicable branch. Alternatively, install an official distribution or support-provider package explicitly addressing CVE-2026-109618; backported packages may retain older upstream version numbers.
- 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 45.1% (99th percentile) as of Nov 28, 2026.
Recent activity
3,140 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.