An AI Just Found Critical Bugs in PHP — the Language Running Most of the Web
What if the biggest hack of the year was found not by a person — but by an AI? Security researchers have just disclosed two critical vulnerabilities in PHP, the language quietly running most of the websites on the internet. Both were found with the help of artificial intelligence, both allow an unauthenticated attacker to run code on the server, and both sat in PHP's code undetected for more than a decade. Patch day has arrived — and if you're a student learning to build for the web, this story is about your future career, not just a scary headline.
Quick Facts
- The flaws: CVE-2026-109618 and CVE-2026-109619 — nicknamed "php2shell", each rated 9.2/10 (CVSS v4.0), critical
- The impact: Unauthenticated remote code execution — an attacker with no login can run commands on the server
- Who found them: Researchers at Calif, Wiz and OpenAI, using AI models (OpenAI's GPT-5.6 Sol and Google's Gemini 4 Argon, per Computer Weekly)
- How old are they: The buggy code paths trace back more than a decade, to PHP 5-era releases
- The fix: Emergency PHP releases on 21 October 2026 — 8.5.12, 8.4.27, 8.3.36 and 8.2.35
- The official line: "There are no complete mitigations, updating is the only safe choice" — the PHP team
What Actually Happened
This was not a plugin bug or a sloppy theme. The flaws live in PHP's core — the engine code that handles every incoming web request before your own code even starts. CVE-2026-109618 is a memory-corruption bug: an attacker can deliberately push PHP into an out-of-memory condition and leave it cleaning up data it should not trust. CVE-2026-109619 is a "stale state" bug: information from one request can survive into the next request handled by the same worker. Both can end in the same place — an attacker running system commands on the web server.
The disclosure itself was dramatic. The CVE identifiers leaked online on 20 October, ahead of the coordinated release, so the PHP team pulled its emergency release forward to 21 October. Official bodies told organisations to move fast — the UK's National Cyber Security Centre said that "where immediate remediation is not feasible, organisations should consider taking the system offline until it can be fully mitigated." With PHP powering roughly 24 million websites (BuiltWith) and nearly 70% of the web (Cloudflare), this is one of the largest patch-everywhere moments in internet history.
The Twist: An AI Found What Humans Missed for a Decade
Here is the part that changes everything for students. These bugs survived more than ten years of human code review and security audits. What finally caught them was a new generation of AI-assisted research: OpenAI, working with security firms Calif and Wiz, used AI models to speed up both discovery and exploit development — auditing low-level memory-management code that makes human eyes glaze over, and finding what humans had walked past.
AI is not just automating jobs anymore — it is auditing the foundations of the internet, and finding the cracks faster than we did.
Why This Matters More If You Build Websites
PHP is not some legacy museum piece. It runs WordPress, Drupal, Joomla, Laravel, phpMyAdmin and Nextcloud — the platforms a huge share of student portfolios, freelance gigs and campus sites are built on. If you are learning web development right now, this story touches you directly:
- Update everything: if you run any PHP site (even a WordPress blog), updating PHP is no longer optional this week — it is the fix.
- Security is a growth industry: AI-assisted vulnerability research is becoming a career field of its own — "AI red teaming" and automated security auditing are roles that barely existed three years ago.
- Low-level skills are back: memory management, C internals, and how web servers actually work are suddenly the most valuable knowledge in the room.
- Open source needs you: PHP is maintained by a community of volunteers. Open-source security work is how students become recognized experts before graduation.
FAQ
Are the PHP vulnerabilities being exploited right now?
Reports differ: Cloudflare says it observed attack traffic targeting customers and payloads mutating around its WAF rules, while others note no widely confirmed mass exploitation yet. The responsible assumption is that the window is short — patch first, debate later.
I have a small WordPress site. Am I at risk?
If your host still runs an affected PHP version, potentially yes — the flaw is in PHP itself, not in WordPress. Contact your hosting provider or check your cPanel/Plesk PHP version and move to a patched release (8.2.35 or newer).
Which AI models found the bugs?
According to Computer Weekly's reporting, Calif used OpenAI's GPT-5.6 Sol and Wiz used Google's Gemini 4 Argon, working in coordination with the PHP team and other partners before disclosure.
Does this mean PHP is dying?
No — it means PHP is important. Languages that power most of the web get this level of scrutiny precisely because they matter. Every major language and platform has had critical CVEs; what matters is how fast the ecosystem patches.
Your Turn
Here is a question for the comments: should AI systems be allowed to automatically disclose the vulnerabilities they find — or should every discovery pass through human review first? The "php2shell" flaws were found faster because of AI. The internet had less time to panic because humans managed the disclosure. Where would you draw the line?
Keep Reading: Fully Funded Scholarships Open Now
- Eiffel Scholarship 2027 — Study in France (Fully Funded)
- Erasmus Mundus Scholarship 2027 — Fully Funded Joint Masters in Europe (€1,400/Month)
Affiliate disclosure: some links on Scholarship Zone are affiliate links — we may earn a commission at no extra cost to you. As an Amazon Associate we earn from qualifying purchases.


