Back to Opinion Articles
Opinion #016•8 min read•22 October 2026

AI Can Find Old Vulnerabilities. Does Anyone Know Where All the Old Software Is Running?

AI helped find two serious security flaws that had been hiding in PHP for more than ten years, and governments took websites offline to fix them. Finding the bug was the impressive part. Knowing where the weak software is running, and fixing it quickly, is the part most organizations still can't do.

Rajnish Kumar
Rajnish Kumar

Editor-in-Chief & Founder

AI Can Find Old Vulnerabilities. Does Anyone Know Where All the Old Software Is Running? — Opinion article hero image

A Fourteen-Year-Old Bug, Found in Weeks

On 21 October 2026, the PHP project released emergency fixes for two critical security flaws. Together, they are now called "PHP2Shell." PHP is the programming language behind a huge part of the web. WordPress, Drupal, and Joomla all run on it, and it powers an estimated 70% or more of websites whose server-side language is known. The flaws let an attacker run their own commands on a server, with no password and no account. In some cases, they also let an attacker read secret data, like passwords and API keys, straight from the server's memory. Almost every PHP version is affected, going all the way back to PHP 5.4, which came out in 2012. What makes this story different from a normal security warning is how the flaws were found. Researchers at Calif, a company that uses AI to test security, at OpenAI, and at the security company Wiz used AI models to find the bugs and prove they were real. It took them weeks. The bugs had been sitting unnoticed for more than ten years, in one of the most widely used pieces of software in the world. Within a day of the announcement, government agencies in Germany, France, Belgium, the Netherlands, Finland, and the Czech Republic took some of their websites offline to be safe. AI found in weeks what humans had missed for fourteen years; the hard question is what happens in the hours after.

What Happened, in Brief

Here are the key facts, taken from the researchers' own report and from news coverage:

  • The flaws: Two officially tracked vulnerabilities, CVE-2026-109618 and CVE-2026-109619, rated up to 9.2 out of 10 for severity. They are memory-safety bugs, meaning PHP handles its own memory wrongly in certain situations. Because the bugs are inside PHP itself, a website can be at risk even if its own code is written perfectly.
  • The discovery: Calif found the first problem in August using OpenAI's models. Wiz, working separately, found related problems using a mix of AI models and its own tools. Wiz says AI did more than find the bugs: it also helped build working attacks to prove them, and helped check that the fixes worked.
  • The teamwork: OpenAI led a group that included the PHP Foundation, Wiz, Calif, cloud and security companies, and U.S. government agencies. The goal was to have fixes and protections ready on the same day the flaws were made public.
  • The fixes: Fixed versions came out for PHP 8.2, 8.3, 8.4, and 8.5. PHP 8.1 and older no longer get regular updates.
  • The scale: An early count by Palo Alto Networks, reported by Fortune, found about 22.6 million systems that could be vulnerable.
  • The response: The NSA told organizations that couldn't update right away to take their websites offline. Cloudflare reported early attacks even before the fix was officially released.

Finding the Bug Was the Easy Part

It's easy to read this as a story about how powerful AI has become, and partly it is. Wiz called the discovery "an AI inflection point." It also said that proving the flaws could really be used required a chain of steps "at the edge of what human researchers could practically achieve." But for almost every organization that runs PHP, the discovery wasn't the hard part, because someone else did it for them. Their hard part started on Wednesday morning, once a fix existed and somebody had to install it. That work needs a skill that has nothing to do with AI: knowing exactly where your software is running. Finding a vulnerability is a security achievement; knowing where it lives in your own systems is an operational capability, and the second is much rarer.

The Question Every Team Had to Answer on Wednesday Morning

Imagine you look after the computer systems of a mid-sized company on 21 October. Your first question is simple: where are we running PHP? In many organizations, the honest answer is "we're not completely sure." There's the main website, of course. But there's also the marketing site an outside agency built five years ago. The customer support portal. An internal HR tool. A forum someone set up for a product launch. A container image that includes PHP as a small part of something bigger. And network devices or vendor products whose admin pages happen to run on PHP, without anyone ever being told. Each one needs someone to check its version, someone to own it, and someone to decide what to do. This isn't a new problem. After the Log4j crisis in 2021, the U.S. Cyber Safety Review Board found that nobody had a full list of where Log4j was being used, including where it was hidden inside other products, and that this "hindered defenders' progress." The board called Log4j an "endemic" vulnerability, one that would stay in systems for years. PHP2Shell will probably follow the same path, for the same reason. Teams that keep an up-to-date list of all the software they run, sometimes called a Software Bill of Materials, could answer the question in minutes. Teams that didn't spent days searching. You can't patch a server you don't know you have.

The Software Nobody Owns

The list of fixes hides an uncomfortable detail. Fixes were released for PHP 8.2 and newer. Versions 8.1 and older no longer get regular updates, so for them, an official fix simply doesn't exist. That matters, because old PHP is everywhere. According to W3Techs data from August 2026, about 63% of PHP websites ran version 8. But around 29% still ran version 7, and nearly 8% ran version 5. By our own rough calculation from those numbers, more than a third of PHP websites were already on versions that had stopped getting security fixes, even before this week. Many of those sites belong to small businesses, schools, and local groups that built a website years ago and never had a reason to touch it again. Others sit deep inside bigger companies, kept on old versions because an old plugin or custom add-on would break if they upgraded. Either way, the software is running, it can be reached from the internet, and in a real sense nobody owns it. Nobody is in charge of upgrading it, and nobody set aside money for the day it would need urgent work. The most dangerous software in an organization isn't the newest; it's the software everyone forgot was still running.

Free to Download, Not Free to Run

PHP, like most of the building blocks of the internet, is open source. Anyone can download it and build on it for free, and that freedom is a big reason it powers so much of the web. But "free to download" was never the same as "free to run." Someone has to keep each copy updated, test that upgrades don't break the site, and respond when a serious flaw appears. That work costs real time and money. And it doesn't fall on the volunteers and small foundations who look after the language. It falls on whoever put the software to use. Too often, nobody plans for that cost until a week like this one, when it shows up all at once as emergency work, weekend overtime, and websites switched off. The PHP Foundation itself described the bigger trend plainly: "Tools now find bugs faster than ever, for defenders and attackers alike, and the number of reports will keep growing." If that's true, the hidden cost of running open-source software is about to become very visible. Organizations will need to start paying it on a regular schedule, not in a panic. Open source is free to download; keeping it safe was always someone's job, and usually nobody's budget.

"Just Patch Faster" Is Not a Plan

The easy answer to all this is to say organizations should simply install fixes faster. It isn't that simple, and pretending it is ignores the people who actually run these systems. Moving PHP up to a new major version can break plugins, custom code, and connections to other systems. A rushed upgrade with no testing can take a website down just as surely as an attack can. Some systems can't be restarted during working hours. Some depend on outside vendors, who have to release their own updates first. Even in normal times, fixing known problems is slow. Verizon's 2025 Data Breach Investigations Report found that, during its study period, organizations fully fixed only 54% of serious vulnerabilities in devices facing the internet, and the typical (median) time to do so was 32 days. Meanwhile, attackers often started large-scale attacks on or before the day a flaw was made public. Seen this way, the governments that took their websites offline weren't panicking. They were being honest. Switching a site off is what you do when you can't safely fix it in time. It shows that the real gap isn't speed. It's preparation: knowing what you run, having tested upgrade paths ready, and knowing who decides what happens next. Taking a website offline is not a failure of security; it's an honest admission that the patch plan didn't exist before the patch did.

What We Should Actually Measure

Security teams are often judged by counts: how many vulnerabilities they found, how many scans they ran, how many alerts they closed. This week shows why those numbers miss the point. The flaws in PHP existed for years, unknown and uncounted, in software running on millions of servers. Once they became public, only one number mattered for any organization: how long it took to go from "a critical fix exists" to "every affected system is fixed and checked, or safely offline." That number depends on things that are boring and rarely praised. An accurate list of all software and its versions. A named owner for every system. Upgrade testing that already runs automatically. And a response plan that someone has actually practiced. An organization with all four could treat this week as routine. An organization with none of them couldn't, no matter how good its security tools were. The real measure of security isn't how many flaws you find; it's how fast a known fix reaches every system you run.

The Same AI, on Both Sides

There's one more reason this matters now. The same AI skills that helped researchers find these flaws can help attackers find the next ones, and turn them into working attacks faster than before. OpenAI said this itself in its announcement, noting that "the same capabilities can also help attackers rapidly develop offensive tools and exploits." TJ Sayers of the Center for Internet Security told Fortune that AI "can help uncover buried flaws and turn complex exploit chains into practical attacks." In an earlier piece, AI Doesn't Just Create More Code to Review. It Creates More Bugs to Triage, Too, we looked at how AI is adding to the flood of bug reports that maintainers have to sort through. PHP2Shell shows the other side of that flood. When finding serious flaws in old software gets cheaper, more of them will be found, by researchers and attackers alike. The time between a flaw becoming known and someone trying to use it will keep getting shorter. In that world, the organizations that stay safe won't be the ones with the most impressive tools for finding bugs. They'll be the ones that can act quickly once a bug is found, because they already know what they're running. When finding flaws gets cheaper for everyone, knowing your own systems becomes the only lasting advantage.

Readiness Is the New Security Capability

PHP2Shell will probably be remembered as the moment AI-powered bug hunting went mainstream, and that's fair. But the more useful lesson is less dramatic. The discovery itself was handled well. Researchers found the flaws, worked with the people who maintain PHP, and gave the world a fix on the same day the flaws were made public. What happened after that depended entirely on ordinary working habits that most organizations still treat as optional. Do you know every place your software runs? Does every system have an owner? Can you upgrade a dependency with confidence, because the tests already exist? Have you practiced what happens when a critical fix arrives on a Wednesday morning? None of these questions is about AI, and none of them is new. AI has simply made them urgent, because the next fourteen-year-old bug won't take fourteen years to find. AI is making vulnerabilities easier to find; only preparation makes them easier to fix.

Found this useful? Share it