AI Found an Internet Flaw Hidden for Years, and Gave Hackers Minutes to Use It
A flaw in little known but widely used web code shows how AI helps defenders and attackers, and why speed decides who wins.

Reuters World News · Cybersecurity flaw, Russia-Ukraine and Brazil's phone problemFor years, a flaw sat buried deep in the code that runs much of the internet, and no one saw it. Then artificial intelligence found it, and suddenly everyone had minutes to act.
The code at issue is PHP, a common building block for websites that most visitors never notice. Many readers may not recognize its name, but they encounter it every day when they open government forms, news sites, and online stores.
On Wednesday, officials pulled official sites offline in France, Finland, the Netherlands, and parts of Asia after learning of a serious defect in PHP. Programmers hurried to issue urgent repairs for problems that had apparently lurked unnoticed for years, spotted with help from AI systems built by Google and OpenAI.
That discovery shows how AI has changed security on both sides. The same kind of tool that can patiently scan millions of lines of old code and spot a weakness humans missed can also help an attacker quickly build a way in once a fix is public.
That is why speed now matters so much. Rafael Sata, a cybersecurity reporter, put it this way: "It could take days, weeks, maybe even months before attackers tried to figure out how to take advantage of a weakness that had been patched. Now, AI tools enable attackers to do that in a matter of minutes."
Defenders need a head start, which is why early disclosure of the flaw caused such concern. Many government and other websites were simply yanked offline because officials feared hackers would strike before patches could be applied.
Big organizations, governments, and major companies are likely to take aggressive steps in moments like this, either taking systems offline or making sure they are properly patched. Sata warns the bigger worry is the long tail of personal websites, small storefronts, and small businesses on shared servers, saying, "They may not even know who updates their PHP instance," and that those owners may not realize their sites are vulnerable.
Questions people ask
What is PHP and why is it everywhere?
PHP is a programming language used to build dynamic websites, the kind that show different content when you log in, fill out a form, or shop online. Many governments, news outlets, and small businesses built sites with it and never rebuilt them, so it still runs a large share of the web.
Why would a website go offline on purpose?
Administrators take a site offline when they know a serious flaw is public but they have not yet installed the fix. Taking it offline stops attacks because no one can reach the site while the work is done. It is disruptive, but it prevents attackers from stealing data or planting malicious software while the patch is prepared.
How does AI help hackers move faster?
Once a fix is released, attackers can compare the old and new code to locate what changed and infer the flaw. AI is good at that comparison work and at writing test attacks, so it can turn a patch announcement into a working exploit much faster than manual work. That means the window between disclosure and attack has narrowed from weeks to minutes in some cases.