AI Security
AI uncovers decade-old PHP vulnerabilities affecting majority of the web; patch coordination took two months
Frontier AI models discovered critical memory-safety flaws in PHP's C engine that affected nearly every release for ten years, triggering a coordinated disclosure effort and new proposals for handling AI-assisted vulnerability research.
1/2
The New Stack
Two critical vulnerabilities in PHP's core engine—which runs roughly 70% of websites globally—were uncovered with the aid of frontier AI models and disclosed this week after a carefully orchestrated two-month coordination effort. The flaws, designated CVE-2026-109618 and CVE-2026-109619 and collectively dubbed PHP2Shell, carry a CVSS severity rating of 9.2.
Researchers from Calif.io and Wiz discovered the issues using OpenAI's GPT-5.6 Sol, Google's Gemini 4 Argon, and Wiz's own Atlas tool. The episode highlights both the potential and risks of AI-driven security research: the same technology that helped unearth long-dormant bugs can equally empower malicious actors.
How the Vulnerabilities Work#
The flaws stem from how PHP handles memory when requests crash or run out of resources. When such failures occur, the language engine—written in C—can leave dangling references to memory that has already been freed. Subsequent requests processed by the same worker may treat these stale references as valid pointers, allowing attackers to read sensitive data or execute arbitrary code.
These are classic memory-safety issues: use-after-free and type confusion vulnerabilities. The research showed that unauthenticated attackers could leverage them to run malicious commands on WordPress, Drupal, and Joomla installations or leak server memory without executing code.
A Decade Hidden in Plain Sight#
At least one of the two bugs dates back to PHP 5.4—a release from over a decade ago. The flaws persisted undetected for so long because exploiting them required chaining multiple weaknesses in ways that were difficult for conventional analysis to uncover.
Wiz credits frontier AI with dramatically accelerating the discovery process: a single researcher wielding these models accomplished in roughly a week what might have historically required a team of experts working for months. The company frames this as "an AI inflection point," signaling that the vulnerabilities always existed, but machine learning made them actionable.
Racing Against the Clock#
Wiz disclosed the first flaw on August 19, confirmed unauthenticated code execution on Drupal the next day, and tested the same exploit against WordPress on August 21. The team reported findings to PHP's security committee on August 24. After acknowledgment on September 21, the PHP maintainers coordinated a fix that arrived on Wednesday alongside the public disclosure.
The two-month window allowed hosting providers, cloud platforms, security vendors, and Linux distributors to prepare mitigations. Partners including Cloudflare, Google Cloud, AWS, Microsoft, and Akamai participated in coordinating protections.
