Security
AI uncovers ancient PHP vulnerabilities affecting millions of websites
OpenAI and Google's Wiz security tools have discovered critical flaws hidden in PHP for over two decades, triggering an urgent global patching effort.
TechCrunch — AI
Two severe security vulnerabilities lurking in PHP—the server-side language underlying roughly 70% of the web—have emerged from AI-powered security research. The U.S. National Security Agency issued an alarming warning this week, with patches already released by the PHP Foundation.
The scope of the crisis#
PHP powers an estimated 33 million websites globally, including those running WordPress and other popular content management systems. The newly discovered flaws have resided in every PHP version since 5.0, released in 2004—meaning they have affected virtually the entire web infrastructure for more than two decades.
The vulnerabilities allow attackers to infiltrate server file systems and access databases tied to web applications. The NSA's severity assessment is stark: organizations unable to apply patches immediately should take their sites offline rather than risk compromise.
How AI found what humans missed#
Security researchers working with OpenAI's "Patch the Planet" initiative, using GPT-5.6 Sol, identified one flaw. Google's Wiz team independently uncovered multiple vulnerabilities through its own combination of security AI agents, Gemini 4 Argon, and GPT-5.6 Sol. Both teams followed responsible disclosure protocols, collaborating with PHP developers before public announcement and coordinating patches with ecosystem partners including Cloudflare, AWS, Akamai, and Microsoft.
The AI paradox#
These flaws represent an unsettling dual-edged sword. According to Wiz's analysis, AI makes these vulnerabilities both discoverable and exploitable: "With AI this is no longer a barrier. LLMs can help adapt an exploit to different PHP versions, configurations and memory layouts." Before AI assistance, such deeply buried flaws would have remained inaccessible to most attackers due to their complexity.
The urgent race ahead#
With disclosure now public and patches available, the internet faces a critical window. PHP 8.1 and older versions are no longer supported—the current secure version is 8.3.12. The NSA's advisory essentially amounts to an emergency call: patch immediately or go dark until you can.

