On October 21, 2026, Wiz Research, together with OpenAI, AI security firm Calif, and the PHP team, disclosed two memory-safety vulnerabilities hidden in the PHP core engine. Tracked as CVE-2026-109618 and CVE-2026-109619, they carry a maximum CVSS score of 9.2. The affected versions stretch all the way back to PHP 5.4, released 14 years ago. The latest official Docker images of WordPress, Drupal, and Joomla can all be turned into unauthenticated remote code execution, putting roughly 70% of websites worldwide at immediate risk.
A Hole Hidden for Over a Decade, Chained into RCE by AI in Hours
On October 21, Wiz Research publicly disclosed two memory-safety vulnerabilities in the PHP core engine, with a maximum CVSS of 9.2. With AI's help, an exploit chain that no one had been able to reliably build for over a decade was stitched into a one-click reproducible RCE(Remote Code Execution—the attacker can run their own commands on the server) script.
PHP is the scripting language powering 70% of websites worldwide, running WordPress, Drupal, Joomla, and Wikipedia's MediaWiki. This time, the problem isn't in those applications—it's in the PHP engine itself.
The two CVEs are CVE-2026-109618 and CVE-2026-109619. Wiz combined them into an exploit script called php2shell, with an impact range stretching back to PHP 5.4, released in 2012—meaning nearly every PHP version since then hits at least one of them.
Wiz partnered with OpenAI, AI security firm Calif, and the PHP maintainers to assemble flaws scattered across the engine into a single exploit chain: first trigger a fatal error to leave PHP's internal state dirty, then let the next request reuse that tainted data, and finally escalate all the way to remote process memory reads or direct code execution.
On the latest official Docker images of WordPress, Drupal, and Joomla, this chain was demonstrated as unauthenticated remote code execution—the attacker needs no account to take over the server. On the same day, October 21, the PHP project released patches, while AWS, Cloudflare, Google, Akamai, Microsoft, Fastly, Imperva, and Vercel prepared mitigation rules in sync, so sites that can't patch immediately can lean on these rules in the meantime.
The two flaws sit in PHP's core like two ducts running through the same wall. The first duct leaks: a fatal error leaves PHP's internal state dirty, and the next request picks up that tainted data. The second duct connects straight to the server's process memory—and what flows through it is other users' passwords and API keys.
In the blog post, Wiz placed this event in the same category as Heartbleed and Log4Shell: the underlying code flaws had actually been hiding for decades, and in the past human researchers would hit a wall just shy of writing a working exploit chain—the complexity was too high, and the loop of tweaking, testing, and tweaking again was simply too long.
Frontier AI models compressed that loop into a few hours. The name php2shell reflects this: a vulnerability hidden in PHP, walked through with AI, and ultimately delivered into attackers' hands as a key that opens a shell. The mechanism details are unpacked in the next section.
Fatal Error Not Cleaned Up, Next Request Picks Up the Pieces
Neither CVE is an application-layer logic bug. Both are memory landmines planted by the PHP engine when it handles fatal errors. One request crashes; the leftover state carries into the next.
When PHP hits a fatal error mid-request—an out-of-memory condition (the program asks the system for more memory than is available), for instance—the engine's internal state can be corrupted. Normally that state gets zeroed out when the request ends. These two vulnerabilities make the cleanup fail, and the dirty data just sits there.
When the next request or the next worker reuses that memory, it reads content that doesn't belong to it. That content could be the previous user's passwords, login credentials, API keys, or even TLS certificates—other people's data within the same process is left exposed too. Wiz compared the effect to 2014's Heartbleed: the attacker isn't stealing a specific account, but draining blood from the entire process.
From owning a single server to draining a pool of data, there's only a single overlooked error-handling logic standing in the way.