Two Critical Remote Code Execution Flaws in PHP Core (CVE‑2026‑109618, CVE‑2026‑109619) Threaten All PHP‑Based Web Applications
What It Is — Cisco Talos disclosed two unauthenticated remote‑code‑execution (RCE) vulnerabilities in the PHP interpreter, collectively dubbed “php2shell”. Both flaws are exploitable with a single plain‑HTTP request before any application code runs, meaning an attacker can gain code execution even on a freshly started PHP worker. CVE‑2026‑109618 (out‑of‑memory handling error) and CVE‑2026‑109619 (use‑after‑free of a stale internal state) each carry a CVSS v4.0 score of 9.2 (Critical). The bugs affect every PHP build released since 5.4, i.e., the entire active PHP ecosystem. No patches exist for PHP 8.1 or earlier; only PHP 8.2 and later have fixed releases.
Affected Products — All PHP runtimes from 5.4 onward, including the default packages shipped with cPanel, Plesk, and the runtimes used by popular CMS and e‑commerce platforms such as WordPress, Drupal, Magento, Shopware, WooCommerce, and Laravel.
Why It Matters for Trust & Control Assurance — The flaws test an organization’s vulnerability‑management control: timely identification, prioritization, and remediation of critical flaws across a heterogeneous software stack. Capability focus: CONTROL_MAPPING – mapping the vulnerability to a unified control framework and collecting evidence of remediation.
Background & Discovery — The vulnerabilities were uncovered by a team that leveraged generative‑AI‑assisted code analysis to fuzz PHP’s core memory handling paths. Talos highlighted the role of AI in accelerating discovery, noting that the speed of disclosure is outpacing traditional patch‑testing cycles.
Technical Details
- CVE‑2026‑109618: When PHP runs out of memory during request processing, the cleanup routine may treat partially‑initialized request data as valid. An attacker can craft a request that triggers the allocation failure, causing the interpreter to execute attacker‑controlled payloads.
- CVE‑2026‑109619: After a memory block is freed, PHP may reuse a stale internal structure before it is re‑initialized. By sending a specially‑crafted request, an adversary can cause the interpreter to execute code from the freed memory region.
Both bugs are “pre‑application” – they occur before any user‑code is loaded, making traditional web‑application firewalls ineffective.
Impact & Exposure — Because PHP underpins the majority of public‑facing web services, the blast radius is massive. Talos estimates that roughly 50 % of live PHP installations will remain unpatched after the end‑of‑life of PHP 8.1 (Dec 31 2026). Exploitation attempts were observed within hours of disclosure, initially as broad scanning and low‑effort PoC delivery. State‑sponsored, ransomware, and financially motivated actors have a history of weaponizing similar RCEs, so the threat surface is expected to expand rapidly.
Detection & Coverage — Cisco Talos Network Intrusion Prevention (SNORT®) signatures 67359, 67360, and 67375 cover the exploit patterns and are available to both Cisco customers and the open‑source community. Splunk Enterprise Security also released an ESCU with relevant detections. Indicators of compromise (IoCs) include several malicious IP addresses (e.g., 5.191.140.240, 158.69.113.75).
Mitigations & Recommendations
- Upgrade Immediately: Move all production PHP instances to the latest 8.2 (or newer) release. No back‑ported patches exist for 8.1 or earlier.
- Configuration Hardening (temporary):
- For CVE‑2026‑109618, set
memory_limit=-1viaphp_admin_valuein FPM or Apache, enforce a lowpost_max_size(8 MiB if uploads are unnecessary, 32 MiB otherwise), and apply strict web‑server/request size limits. - For CVE‑2026‑109619, disable
session.upload_progress.enabled, setfatal_error_backtraces=0on PHP 8.5, and remove any per‑request diagnostic settings that could leak error information. - Containment: Deploy container or cgroup limits that kill only the affected worker process, avoiding global RLIMIT_AS or RLIMIT_DATA restrictions that could destabilize the service.
- Monitoring: Enable the Talos SNORT signatures and Splunk detections, and continuously monitor the listed IoCs.
- Process Improvement: Adopt a triaged vulnerability‑prioritization workflow that flags public‑facing services and actively exploited CVEs for immediate remediation.
Response from the Community — Talos credited Ankur Tyagi, Dalton Schaadt, Brandon Stultz, and Matt Killion for rapid coverage and mitigation guidance. A video briefing by Nick Biasini explains the attack flow and defensive priorities.
What Remains Unknown — As of the advisory release (Oct 21 2026 14:00 UTC), no confirmed in‑the‑wild compromise has been reported, but exploitation attempts are already surfacing. The timeline for broader weaponization will depend on how quickly threat actors integrate the PoC into automated exploit kits.
Recommended Actions —
- Conduct an inventory of all PHP runtimes and version‑level exposure.
- Prioritize upgrade to PHP 8.2+ on all production systems; retire unsupported versions.
- Apply the temporary configuration mitigations where upgrade is not immediately possible.
- Deploy Talos SNORT signatures (or community equivalents) and Splunk ESCU detections.
- Capture remediation evidence (patch version, configuration snapshots) for audit readiness.
Source: Cisco Talos Advisory – Two Critical RCEs in PHP Core