PHP patches two critical flaws allowing remote code execution
Bitcoin $52,276▼ −12.99% 24has of Dec 3, 2026, 7:10 AM ET
PHP released emergency fixes for two critical flaws that can let unauthenticated attackers run code on web servers, and crypto security chiefs urge patching.
Key points
- PHP fixed CVE-2026-109618 and CVE-2026-109619, both rated 9.2 on CVSS v4.0
- Flaws can allow unauthenticated remote code execution on PHP web servers
- Cloudflare reported attack traffic and payload changes to evade its rules
- Kraken's security chief urged patching and post-patch checks for web shells
The PHP project released emergency security updates on Oct. 21 for two critical vulnerabilities that, together, can let unauthenticated attackers execute code on web servers, according to CryptoSlate. Both flaws carry a CVSS v4.0 score of 9.2, and security firms say attack traffic has already appeared. Crypto exchange and wallet security executives have urged operators to patch quickly.
What the PHP2Shell flaws do
The bugs, tracked as CVE-2026-109618 and CVE-2026-109619 and nicknamed PHP2Shell, were described in an advisory from the UK National Cyber Security Centre (NCSC). In the first, an out-of-memory condition can interrupt PHP while request data is only partly initialized, and cleanup may then treat that invalid data as valid. In the second, request-specific internal state can persist after its memory is freed, so a later request handled by the same worker may use it.
The NCSC said the combination could cause memory corruption that, under certain conditions, enables unauthenticated remote code execution. Cloudflare said the flaws were disclosed on Oct. 21 by Calif.io, Wiz, OpenAI and Quarkslab, and that they affect web servers running PHP 5.4 or later. CryptoSlate reported that the PHP project said all installations serving web requests are at risk, with the highest exposure under Apache’s mod_php.
Fixed versions and attack activity
CryptoSlate listed fixed releases as PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12, plus minimal source backports for the unsupported 7.4, 8.0 and 8.1 branches. The NCSC page does not list version numbers and points readers to the PHP advisories.
Cloudflare said it saw attack traffic against customers and saw attackers modifying payloads to try to get around its rules. It said it began building protections in early October and deployed default web application firewall (WAF) rules for Free and paid plans at 3:02 a.m. UTC on Oct. 21, about nine hours before public disclosure. The company did not give traffic volumes. It stressed that WAF rules are not a substitute for updating the PHP runtime itself, and that updating application code or plugins alone does not fix the flaws.
What operators are being told to do
According to CryptoSlate, Kraken Chief Security Officer Nick Percoco urged prompt patching and suggested that operators who cannot patch immediately take systems offline or place them behind a WAF with direct access to the origin server blocked. After patching, he advised checking for unauthorized administrator accounts, modified PHP files and web shells. He also warned that PHP embedded in routers, network storage devices, firewalls, control panels and vendor appliances may depend on vendor firmware updates, and that some devices may never be fixed. CryptoSlate said Ledger Chief Technology Officer Charles Guillemet also flagged the overlapping threats. It reported no breach at either company.
The NCSC advised organizations to inventory all PHP installations, starting with internet-facing systems, apply updates and the PHP team’s temporary mitigations, and consider taking systems offline if mitigations cannot be applied quickly. It also recommended checking unpatched systems for signs of compromise and backdoors.
CryptoSlate noted the PHP fixes arrived alongside Node.js security releases and the compromise of eight intermediate certificates from Indian certificate provider eMudhra, which Mozilla blocked in Firefox on Oct. 17.