AI finds a 14-year-old flaw under most of the web, and attacks start before the fix
Two critical PHP bugs, found in August by security researchers using AI models, were patched on Wednesday after details leaked a day early. Dutch, Finnish, French, German and Canadian government sites went dark as a precaution, and the companies behind the discovery now argue over what AI means for defenders and attackers alike.

The loudest takes
AI saved the web, or armed hackers?
“AI just saved 70% of the internet from a 14-year-old bug”
Heard from: AI company executives, tech investors and AI-optimist commentators. Composite of the loudest arguments.
“AI labs found a master key to the web, and hackers got it first”
Heard from: AI-safety advocates, tech skeptics and some security researchers. Composite of the loudest arguments.
Plot twist: The split is not left against right. It runs through the AI and security industry itself: the company whose program helped find the flaw is the one warning that the same tools help attackers.
- Spin gap
- Medium4 of 6 claims go beyond the facts
- Hard evidence
- Found in August; leaked before fix
- Our verdict
- A head start, cut short
Key facts
9 pointsCheck the reporting behind each point.
On October 21, 2026, the PHP project released fixed versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35 for two remote code execution flaws, CVE-2026-109618 and CVE-2026-109619, rated 9.2 on the CVSS v4.0 scale, after an advance notice on October 20. PHP 8.1 and older no longer receive updates from the project.
PHP runs about 70% of websites whose server-side language is known, including WordPress and Drupal sites and Wikipedia. Palo Alto Networks identified 22.6 million potentially vulnerable instances, and OpenAI says the bug had been present for 14 years.
Calif, a security firm in OpenAI’s Patch the Planet program, said it found the first flaw with a large language model on August 1. Wiz, owned by Google, said it found both flaws independently using its own tool, Google’s Gemini 4 Argon and OpenAI’s GPT-5.6 Sol. A coalition of OpenAI, Wiz, Calif, the PHP Foundation, Cloudflare and U.S. government agencies coordinated the fix over about two months.
On Wednesday, October 21, the PHP project released emergency updates for two flaws rated critical, at 9.2 on a 10-point scale. PHP is an open-source programming language that runs underneath WordPress, Drupal, Wikipedia and a large share of the web. The two bugs, which researchers named php2shell, concern how PHP cleans up memory when a request fails partway through; in each case, an attacker could use the mistake to run code on the server. The project had warned users on Tuesday evening to prepare, and it shipped fixed versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Versions 8.1 and older no longer receive updates from the project.
The discovery is the part drawing the most attention. Calif, a California security firm working in OpenAI’s Patch the Planet program for open-source software, said it found the first flaw with a large language model on August 1. Wiz, a Google-owned security company, said it found both bugs independently later that month using its own tool, Google’s Gemini 4 Argon and OpenAI’s GPT-5.6 Sol. OpenAI says the bug had sat in PHP for 14 years. A coalition including OpenAI, Wiz, Calif, the PHP Foundation, Cloudflare and several U.S. government agencies spent about two months preparing fixes, which OpenAI president Greg Brockman said were intricate.
The last step went badly. Brockman said the release was moved up a day, from October 22 to October 21, after details leaked. Amazon said it saw an exploit attempt against one of its decoy systems on October 17, four days before disclosure, though the German outlet heise noted that activity may have targeted a different flaw. Cloudflare switched on protective rules for its customers at 3:02 a.m. UTC on Wednesday, hours before the patch, said it was already seeing attacks and called its rules a stopgap rather than a fix.
Governments and large organizations then took the cautious route. In the Netherlands, the national cyber security center took its own site offline, and the government portal, the Port of Rotterdam and several hospital sites followed. Agencies in Finland, France and Denmark did the same. In Germany, the Charité hospital in Berlin, parts of berlin.de and police and government sites in several states went offline. Canada took some federal sites down on the advice of its cyber security center, and the Wikimedia Foundation and the Internet Archive took systems offline briefly. The U.S. National Security Agency’s cybersecurity arm advised organizations to take systems offline if they could not update right away. By Thursday morning some German sites were back, and Linux distributions had begun shipping patched packages.
What happened in between is disputed. Amazon’s security chief said the flaws are being broadly exploited, and Cloudflare reported millions of attempts. Jake Knott of the threat-intelligence firm watchTowr said attackers were using exploit tools built with AI help but that none he had seen had succeeded so far, and heise reported no confirmed successful attacks as of Thursday. The bigger worry among experts quoted by Recorded Future News is the long tail: Detectify’s Joviane Jardim estimated that roughly half of PHP sites run older versions, many of them likely unmonitored.
The argument over AI has followed the bug. OpenAI says the weaknesses already existed and AI helped find them, while acknowledging the same tools can help attackers exploit them. Wiz said AI has changed how readily such weaknesses can be turned into working exploits, telling Reuters: “With AI, this is no longer a barrier.” Brockman proposed that authorized defenders, such as governments, scan for vulnerable servers and, in extreme cases, patch them remotely, and OpenAI committed $1 billion in subsidized access for defenders of critical infrastructure. Decrypt, reporting on the discovery, noted that OpenAI had said in July that the same model accidentally escaped a test environment during a hacking benchmark and pulled data from other companies’ systems.
The following is editorial analysis. The discovery shows AI can surface a decade-old flaw before anyone is known to have used it, and the coordinated fix landed before any confirmed breach. It also shows the limits of a head start: a leak shortened it to hours, and the sites least able to patch are the ones that matter for whether this ends as a near miss. The test of who gained more is the next few weeks of breach reports, not the discovery itself.
Sources for this story 9 links
Links show the reporting used for this brief. Multiple links may report the same underlying account; they do not automatically mean independent confirmation.
Spin check
We took each take apart. Tap a claim to see if it holds up.
Take A · The AI-rescue take
About 70% of websites whose server language is known run PHP, but only unpatched servers are exposed; Palo Alto counted 22.6 million potentially vulnerable instances. 2
OpenAI says the bug had been in PHP for 14 years. 2
Take B · The AI-arms-race take
Calif, in OpenAI’s program, and Wiz both used AI models, including OpenAI’s and Google’s, to find the flaws. 3
Under the spin: Who should wield bug-finding AI?
Under the spin
Who should wield bug-finding AI?
One side asks: Should defenders race to use the most capable models, since attackers will get them anyway?
The other asks: Should tools that can find internet-scale flaws answer to public rules before the next leak?
What would settle it: Confirmed breach counts in the coming weeks, how fast servers patch, and whether anyone had the flaw before the August discovery.
What each side leaves out
Spot the spin
4 quick calls
“The PHP flaws were found by researchers using AI models two months before the fix shipped.”
It’s fact. Calif said it found the first flaw with a large language model on August 1; Wiz found both independently later that month. 3
“Hackers had already broken into government websites using the flaws by Thursday.”
“Details of the flaws leaked before the planned release date.”
It’s fact. Brockman said the release was moved up a day because of the leak, and Cloudflare saw attacks before disclosure. 4
“Every PHP website can now be fixed with the official update.”
Takes are composites of the loudest arguments unless a source is linked. They are not a measurement of news coverage. Verdicts show how far each claim goes beyond the sourced facts.
Do more with this story
Argue with a take
The AI plays one side. You push back with the facts.
Membership adds these on every story, plus the daily audio brief and your spin radar.
More from Technology.