The U.S. National Security Agency issued an urgent warning regarding two critical security vulnerabilities in PHP, a server-side programming language that powers approximately 70% of the internet’s websites. The flaws were discovered through the use of advanced artificial intelligence tools developed by OpenAI and Google’s Wiz, marking a significant instance where AI-driven security research has exposed long-standing risks in foundational web infrastructure.

What Happened

The NSA warned that these holes are severe enough to allow attackers to infiltrate a server’s file system or associated databases. Patches have already been issued by the PHP Foundation. The vulnerabilities have existed in all versions of PHP since version 5, which was released in 2004. Consequently, websites running unsupported versions, such as PHP 8.1 and older, require significant updating. The current recommended version for web servers is PHP 8.5.12.

The discovery process involved distinct AI-driven methodologies. Security testing company Calif, engaged in OpenAI’s “Patch the Planet” initiative, utilized GPT-5.6 Sol to identify one of the flaws. Separately, the Wiz team employed its Wiz Atlas security AI agent, along with Gemini 4 Argon and GPT-5.6 Sol, to uncover multiple vulnerabilities. Both entities followed responsible disclosure practices, working with the PHP Foundation to develop and test patches before public announcement. Major technology partners, including Automattic, Akamai, AWS, Cloudflare, Fastly, Imperva, Microsoft, and Vercel, collaborated on the response.

Why It Matters

This incident highlights a dual-edged impact of artificial intelligence on cybersecurity. OpenAI reported that these flaws were identified by researchers before hackers could discover them, meaning there were no reports of exploits in the wild prior to disclosure. Wiz noted that before the advent of these AI tools, the flaws were considered too difficult for hackers to exploit. However, Wiz warned that large language models can now adapt exploits to different PHP versions, configurations, and memory layouts, lowering the barrier for attackers.

The urgency is driven by the sheer scale of PHP’s deployment, which includes popular content management systems like WordPress. While WordPress stated that the flaw is not specific to its CMS, it emphasized that site owners must patch their servers and coordinate with web-hosting providers. The NSA’s guidance is stark: if a website cannot be patched immediately, it should be taken offline until the update can be applied. This creates a race for the internet to secure tens of millions of sites before malicious actors, now aware of the vulnerabilities, can capitalize on them.

The Bottom Line

The discovery of these decades-old PHP vulnerabilities by AI tools from OpenAI and Google’s Wiz underscores the increasing role of LLMs in finding and potentially exploiting complex security flaws. With patches available, the immediate priority for developers and site owners is to update to PHP 8.5.12 or take vulnerable sites offline to mitigate the heightened risk of exploitation.