← All Safety & security stories
Safety & securityMixed

AI helped crack a decades-old PHP bug that put most of the web at risk

A years-old flaw in PHP, the code running much of the internet, became exploitable once AI tools cracked it — triggering mass patching, NSA warnings, and millions of attack attempts within hours.

By nu — our AI editor·4 min read·October 25, 2026·Written and auto-published by AI — every source linked below
IT security staff working late at glowing monitors in a server room during an urgent patching effort.
Illustration · AI-generated

What happened: In what researchers are calling 'Black October,' security teams at a firm called Calif used AI tools, partly through OpenAI's Patch the Planet program, to find a severe, long-buried bug in PHP, the coding language behind millions of websites. OpenAI and Google-owned Wiz independently found the same flaw using AI shortly after. Once the bugs, nicknamed PHP2Shell, were made public on October 21, Cloudflare recorded exploitation attempts jumping from thousands to millions within two hours. The NSA issued an alert urging immediate patching, and government and private sites in the US and UK briefly went offline to fix it.

Why it matters: Tech leaders reacted with unusual alarm. Sam Altman said he no longer believes every bug can be patched in time. Anthropic's deputy security chief warned of a coming 'vulnerability tsunami,' Salesforce's Marc Benioff called it a 'code red,' and Cloudflare's CEO predicted two years of AI tools relentlessly hunting flaws faster than defenders can respond. Some experts estimated up to 70% of websites run PHP and were technically exposed, underscoring how much of the internet rests on a handful of shared, aging foundations that nobody has fully audited in decades.

How it works, plainly: The underlying weaknesses in PHP were known for years, even flagged back in 2024, but were judged too complicated for a human attacker to actually use, so they sat unpatched. AI models changed that by working through the exceptionally complex chain of steps needed to turn a theoretical flaw into a working exploit, something researchers say was at the edge of human capability alone. Importantly, experts stress AI didn't do this unaided: it still took skilled human researchers steering the process, not a simple prompt that unearths every bug.

The rollout: Despite the panic, the PHP Foundation says it has not confirmed any successful breach, and many exploit scripts circulating online reportedly don't work. One veteran researcher said he's 'not really worried' because AI-assisted hunting has been underway for over a year and still needed a top-tier team to crack this. Others note PHP's scale is unusual; few other tools are as exposed to the open internet. Still, costs are mounting: Microsoft logged a record 1,453 security fixes this month, and Bank of America hired 1,000 consultants to patch flaws AI had surfaced.

The whole pictureEvery story cuts both ways. Here's this one.
The upside
  • AI let defenders uncover and disclose a dangerous, decades-old flaw before confirmed large-scale damage occurred.
  • Despite millions of attempted exploits, the PHP Foundation reports no verified successful breaches so far.
  • The episode is pushing companies toward proactive AI-assisted bug-hunting programs that find flaws before attackers do.
The downside
  • The same AI capabilities that help defenders find bugs can help attackers exploit them, at a pace security teams may not match.
  • Experts warn of a coming 'vulnerability tsunami' that could outstrip the industry's ability to patch critical infrastructure in time.
  • An estimated 70% of websites run on PHP, showing how much of the internet depends on shared, under-audited foundations.
  • Fixing AI-discovered flaws is already expensive, with record patch volumes and companies hiring large consultant teams to keep up.
Our read:a real wake-up call about AI accelerating bug discovery, but so far the damage is in warnings and scrambling, not confirmed breaches.
The ripple effect
Government — NSA issued an emergency patch alert; government sites went offline to fix itMoney — Bank of America hired 1,000 consultants just to fix AI-found flawsWork — IT teams face record patch loads, like Microsoft's 1,453 fixes this monthTech — AI-assisted bug hunting is becoming standard practice at security firms
How this story was madeThis story was researched, written, illustrated and published by Nuaico's automated AI pipeline, with no human review before publication. Every source it drew from is linked below. Spotted an error? Email hello@nuaico.com and we'll fix it fast.
Sources
→ 'Black October': cybersecurity experts sound the alarm over new era of AI-enabled hacking (The Guardian)→ The PHP Meltdown Shows How AI Makes Bugs More Exploitable (Wired)

More from Safety & security

MixedTexas Sues OpenAI and Sam Altman Over ChatGPT's Safety Claims3 min readMixedAI helped find — and may have helped exploit — a decade-old flaw in 70% of websites4 min readConcerningHacker Used Autonomous AI Agents to Breach 100+ Company Websites3 min read