CVE-2026-109619: PHP2Shell: PHP stale global state remote code execution
- Vendors
- SiemensAruba NetworksCpanelPalo Alto NetworksPHP Group
CVE-2026-109619 is a cross-request use-after-free vulnerability in the PHP runtime and one of two vulnerabilities collectively known as PHP2Shell. Request-owned memory can remain referenced by global state when that state is incompletely reset or repopulated after cleanup, including during fatal-error handling. After the memory is freed, a subsequent request handled by the same worker can read or branch on stale state before initialization completes. Multiple triggering strategies can lead to unauthenticated remote code execution. Identified paths involve session upload progress and, in PHP 8.5, fatal-error backtraces. Exposure and practical exploitability depend on the runtime configuration, request lifecycle, and application behavior.
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, exposing application source code, configuration, database credentials, API keys, and other accessible data. Attackers may modify or delete application data, establish application-level persistence, or disrupt service. Invalid memory accesses can also crash workers. Host-level administrative control is not inherent: impact depends on process privileges, isolation, and product architecture, and some embedded-product assessments limit the consequences to denial of service.
Mitigation
If you can’t patch tonight, do this now.
Until updates can be deployed, set session.upload_progress.enabled=0 in administrative configuration applied before request parsing, then restart every worker. Runtime ini_set() changes and PHP-FPM .user.ini settings are insufficient for this purpose. On PHP 8.5, also set fatal_error_backtraces=0, prevent request-specific configuration from re-enabling it, and restart all workers. Remove invalid or deprecated per-request settings that generate diagnostics before initialization, and correct attacker-reachable fatal errors and execution timeouts. These measures block identified paths but do not cover every variant. Restrict vulnerable interfaces to trusted networks or isolate them from public access. Use applicable WAF protections, least-privilege service accounts, and network segmentation as supplementary safeguards.
Remediation
Patch, then assume compromise.
Install the latest vendor-supported PHP security update explicitly addressing CVE-2026-109619 and subsequent related fixes. The initial upstream fixed releases were PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12. Additional incomplete-fix scenarios were subsequently identified under CVE-2026-129182 and CVE-2026-129481, with fixes specified in PHP 8.5.13 and PHP 8.3.37/8.4.28/8.5.13, respectively; verify availability and coverage with the relevant vendor. For PHP 8.1 and earlier, migrate to a supported, patched branch or obtain a verified distribution or LTS-vendor backport. Update bundled runtimes through the product vendor. Restart all PHP workers and affected web services, recreate containers from corrected images, and verify that production request-handling processes actually load the updated runtime. Investigate possible prior compromise because patching does not remove established attacker access.
Exploits
113 exploits validated by Mallory's analysis. Hidden: 371 rejected by Mallory's analysis as not a working exploit; 14 not yet analyzed, such as Exploit-DB entries; 369 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-109619 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-109619?
- Yes. Mallory tracks 113 public exploits or proofs of concept for CVE-2026-109619, the earliest disclosed Oct 21, 2026.
- Is there a patch for CVE-2026-109619?
- Install the latest vendor-supported PHP security update explicitly addressing CVE-2026-109619 and subsequent related fixes. The initial upstream fixed releases were PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12.
- What products are affected by CVE-2026-109619?
- 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-109619?
- CVE-2026-109619 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
2,636 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.