Trend Analysis

AI Helped Turn Old PHP Bugs Into Practical Exploits

AI Helped Turn Old PHP Bugs Into Practical Exploits FAYFO Media © fayfo.com
AI Helped Turn Old PHP Bugs Into Practical Exploits © fayfo.com
Researchers used frontier AI alongside deep PHP expertise to develop workable attacks against flaws known for years. The disclosure drew millions of attempts, but the PHP Foundation says it has seen no successful exploitation.

Cloudflare recorded millions of attempts to exploit PHP flaws within hours of their public disclosure. On October 21, 2026, the PHP development team disclosed and patched two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, collectively called php2shell. The PHP Foundation reported no confirmed successful exploitation at the time, and many publicly circulating exploits appeared ineffective on some configurations.

The flaws affect web servers running PHP 5.4 or later. Specially crafted HTTP traffic can trigger denial of service, expose data or allow remote code execution. Cloudflare said it deployed protections globally at 3:02 a.m. UTC on October 21, about nine hours before public disclosure, and that its free and paid WAF customers were protected by default. The rules block known exploit methods but do not fix vulnerable PHP installations. The PHP project released updates for PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12; administrators were urged to update rather than rely on traffic filtering alone, as Cloudflare explained.

The case shows how AI can change the practical risk posed by an old bug. Security researchers used advanced models to help develop exploits for flaws that had been known, at least in part, for years. AI did not find them alone. Wiz researchers said it changed how researchers could understand weaknesses and turn them into working exploits.

Researchers at security company Calif first identified the PHP2Shell vulnerabilities on August 1 and created exploits with help from a large language model, while working with the PHP team on a fix before public disclosure. They used frontier AI tools in part through OpenAI’s Patch the Planet program, backed by expert knowledge of PHP and its weaknesses. Some underlying issues had been identified in 2024 but were considered too complex to exploit at the time. Researchers at OpenAI and Google-owned Wiz later reported independent findings involving the same underlying weakness. Wiz used its Wiz Atlas research system alongside Google’s Gemini 4 Argon and OpenAI’s GPT-5.6 Sol to investigate and demonstrate exploitation techniques.

“The vulnerability had been known to the PHP team for years, but because it could not be leveraged by an attacker, at least not a human one, it was not addressed,” says Sagi Tzadik, a security researcher at Wiz.

FAYFO previously covered PHP emergency fixes after Cloudflare reported early attack activity. The new episode raises a different concern: AI may help turn difficult-to-exploit flaws into usable attack paths, increasing pressure on the people responsible for securing exposed software. The vulnerabilities affect multiple PHP deployment modes, including PHP-FPM and Apache with mod_php, as well as php-cgi, FrankenPHP and LiteSpeed. Cloudflare’s rules were a temporary mitigation, not a substitute for patching.

The burden is already large. Microsoft’s security updates included a record 1,453 vulnerabilities in a single month. Bank of America hired 1,000 consultants to fix flaws discovered by Anthropic’s Mythos. Researchers say AI is amplifying existing vulnerability discovery and disclosure dynamics, rather than creating an entirely new kind of security work.

Jake Williams, vice president of research and development at Hunter Strategy and a former NSA hacker, expects more old bugs to surface. “We'll definitely see more of these long-life bugs that are in every version of the software for the last decade or whatever,” he says. But he also cautions that PHP’s reach is unusual: “There isn’t much else that has the specific reach of PHP. It’s a pretty wild attack surface, and most other tools aren’t exposed to the internet by design.”

Human expertise remains basic to the process. Ryan Austin, the Calif researcher who first discovered the PHP flaws, wrote, “No model is simply capable of unearthing ‘all bugs’ with simple prompts. At least for now.”

Security engineer and researcher Niels Provos says the PHP case required a highly skilled team, even after more than a year of researchers using AI to look for vulnerabilities. “To be honest, I am not really worried,” he says. “I guess we will see whether I am completely wrong, but I doubt it.”

The PHP development team urged users to update immediately. BleepingComputer reported the corrected release branches and deployment details, while Reuters reported that Calif had been working with the PHP team on a fix since finding the flaws in August.

Paul Christiano Editor FAYFO Media
Editor

Paul Christiano

American journalist with a strong focus on AI and content technology.

You Might Also Like