Home › Intelligence › Brief
VULNERABILITY BRIEF🔴 Critical Vulnerability

Critical PHP2Shell RCE Flaws (CVE‑2026‑109618 & CVE‑2026‑109619) Trigger Emergency Patch Release

PHP disclosed two unauthenticated remote‑code‑execution vulnerabilities affecting all PHP‑FPM, mod_php, php‑cgi, and LiteSpeed deployments. The flaws allow attackers to execute code as the web‑worker account. Immediate patching is required, highlighting the importance of a robust patch‑management control.

LiveThreat™ Intelligence · 📅 November 23, 2026· 📰 bleepingcomputer.com
🔴
Severity
Critical
VU
Type
Vulnerability
🎯
Confidence
High
🏢
Affected
3 sector(s)
✅
Actions
5 recommended
📰
Source
bleepingcomputer.com

PHP2Shell Critical RCE Flaws (CVE‑2026‑109618 & CVE‑2026‑109619) Prompt Emergency Patch Release

What It Is — The PHP core team disclosed two unauthenticated remote‑code‑execution (RCE) vulnerabilities, collectively named PHP2Shell. CVE‑2026‑109618 is an out‑of‑memory corruption chain that lets an attacker execute code as the web‑worker account. CVE‑2026‑109619 is a stale‑global‑state use‑after‑free that discloses memory and also yields RCE with the same privileges. Both flaws stem from the same root cause: PHP can leave its internal memory in a corrupted state when a request terminates abnormally, allowing a crafted HTTP request to hijack the worker process before any application code runs.

The vulnerabilities affect all PHP installations that serve web requests, including PHP‑FPM, Apache with mod_php, php‑cgi, FrankenPHP, and LiteSpeed. The PHP security team warned that the risk is highest for the mod_php SAPI because the exploit can fire before any user‑level code is loaded. Researchers from Calif, OpenAI, and Wiz independently verified the flaws and demonstrated working exploits in the wild.

Timeline & Disclosure – The issue was first reported to the PHP security team in early October 2026. On 21 October 2026 the team issued emergency patches for PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35, and provided minimal source back‑ports for PHP 7.4, 8.0, and 8.1. The PHP developers also published an “advanced warning” on Tuesday, urging administrators to prepare for immediate upgrade. Cloudflare’s CTO, Dane Knecht, confirmed that the company’s WAF rules were already seeing exploitation attempts, but stressed that those rules are only a stop‑gap. The UK NCSC issued an advisory urging organisations to patch or temporarily take PHP‑based services offline.

Technical Details –

  • CVE‑2026‑109618 – Triggers an out‑of‑memory condition that corrupts the PHP heap. The attacker sends a specially crafted request that forces the interpreter to allocate memory beyond its limits, causing a use‑after‑free that can be hijacked to run arbitrary native code. The payload runs under the web‑worker’s OS account (often www-data or apache).
  • CVE‑2026‑109619 – Exploits a stale global state left behind after an abnormal request termination. The flaw enables a heap use‑after‑free, memory disclosure, and ultimately RCE. Mitigation via session.upload_progress.enabled=0 and disabling fatal‑error backtraces blocks the known exploitation path, but does not close the underlying memory‑state bug.

Both vulnerabilities can be chained with other PHP mis‑configurations (e.g., permissive post_max_size, unrestricted memory_limit) to increase impact. The researchers demonstrated that an attacker can achieve full command execution on a default Apache + mod_php stack without needing any valid credentials.

Mitigation & Patch Guidance – The PHP project’s emergency release is the only permanent defence. Administrators should upgrade to the patched versions listed above as soon as possible. For legacy PHP 7.x installations, vendors may provide back‑ported fixes; otherwise, migration to a supported PHP 8.x release is required. The team also published temporary hardening steps:

  • CVE‑2026‑109618 – Set memory_limit=-1 via php_admin_value (so applications cannot override), lower post_max_size to 8 MiB (or 32 MiB if uploads are needed), and enforce container or cgroup limits that kill only the compromised worker.
  • CVE‑2026‑109619 – Disable session.upload_progress.enabled, restart workers regularly, set fatal_error_backtraces=0 on PHP 8.5, and remove any per‑request diagnostic settings that emit errors before initialization.

These mitigations reduce attack surface but do not replace the need for the official patches.

Impact Scope – VirusTotal estimates more than 5.1 million publicly reachable PHP hosts, with roughly 3.8 million exposing at least one open port. Given PHP’s dominance (≈ 75‑80 % of all websites) and its deep integration with popular CMS platforms (WordPress, Joomla, Drupal), the potential blast radius is massive. Exploitation could lead to defacement, data exfiltration, or lateral movement within compromised networks.

Response & Community Actions – The PHP core team has pledged to monitor for active exploitation and may release earlier patches if needed. Cloudflare, major CDNs, and many hosting providers have already rolled out WAF signatures that block known PHP2Shell payloads, buying time for customers to patch. Security‑focused organisations are advised to verify that their WAF rules are up‑to‑date, audit PHP version inventories, and prioritize patch deployment across all environments, including development, staging, and production.

What Remains Unknown – At the time of writing, no public evidence of successful post‑exploitation activity (e.g., data theft) has been disclosed. The extent of any “in‑the‑wild” scanning activity targeting the flaws is unclear, and the timeline for potential weaponisation by ransomware or APT groups has not been confirmed.

Why It Matters for Trust & Control Assurance – This incident tests the Patch Management / Vulnerability Management control objective: timely identification, assessment, and remediation of critical software flaws. Demonstrating a robust, auditable patch‑deployment process satisfies a single control that maps to many frameworks (NIST CSF Identify‑Protect, ISO 27001 A.12.6, PCI DSS 6.1, etc.).

Recommended Actions –

  • Inventory all PHP installations and map each to its supported version.
  • Deploy the emergency patches (PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35) or apply vendor back‑ports for older releases.
  • Apply the temporary hardening settings where patching cannot be immediate.
  • Verify WAF/CDN rule sets include the latest PHP2Shell signatures.
  • Capture patch‑deployment evidence (change‑control tickets, configuration snapshots) for audit readiness.

Source: BleepingComputer – PHP ships emergency patches for critical PHP2Shell flaws

📰 Original Source
https://www.bleepingcomputer.com/news/security/php-ships-emergency-patches-for-critical-php2shell-flaws/ ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Trust Operations

Every gap like this maps to a control you can evidence.

The Verisq AI Trust Operations platform maps incidents to your control framework and collects the evidence continuously — so your Trust Center shows proof, not promises, when a buyer or auditor asks.

Explore the Verisq AI Trust Operations platform →