The Bug Was in the Tracker Since 2020
The detail that stuck with me was small. One Hacker News commenter reported that the Dutch national cyber security centre had pulled its own website offline because it ran PHP.1 I cannot tell you how many other sites followed, because nobody has published a tally, and the reporting so far is anecdotal. But a national cyber agency switching off its front door is a decent proxy for how this week felt.
The facts first. Two flaws in the PHP engine itself, CVE-2026-109618 and CVE-2026-109619, each rated 9.2, were fixed on 21 October in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35.2 The worse one can be triggered on Apache with mod_php before any application code runs, and code execution was demonstrated with default settings.2 Calif, OpenAI and Wiz say they found them.3 The headlines want that to be the story: AI finds critical bug in the engine behind much of the web. I would rather look at what the humans did with it, because the root of the problem was reported in 2020 as a seemingly harmless bug about long variables causing an out-of-memory condition, and not much was made of it.3 Later, the PHP Foundation says, a core developer fixing something from an external audit found the first signs of the same problem, and the fix then stalled for months.2 Calif concedes that its own earlier look at PHP found nothing exploitable by default.3 This was never an obscure corner nobody had examined. People looked, more than once, and missed it.
Then the embargo fell over. Details leaked on 20 October, before patches existed.4 Nobody has established where the leak started, and I will not guess. What I can say is what happened in the vacuum. The rumoured severity was 10.0, while PHP’s own notice says 9.2.5 The most repeated hardening advice, a session upload progress setting, belongs to the other bug, according to a member of the PHP security team.5 The advisory’s actual first stopgap, enforcing memory_limit=-1, appeared in none of the write-ups he read, and it looks like the opposite of hardening until you understand the flaw.5 That is the part I find damning. A fast, confident, wrong crowd beat a slow, correct maintainer to the audience. One commenter thought PHP was the “less wrong” party but still wanted better communication next time.6 I agree with both halves.
Now the pushback, which is fair. Pulling systems offline sounds hysterical until you read the official guidance. The UK’s NCSC advised organisations that cannot remediate immediately to consider taking the system offline.7 CERT-EU similarly recommended isolating internet-facing applications where immediate patching is not feasible.8 For an unauthenticated flaw that fires before your own code runs, that is sober advice. It remained guidance rather than any government decree I can find in this evidence, so I would be wary of claiming governments mandated a mass takedown. Equally, the scale claims deserve a raised eyebrow: Wiz estimated roughly 70% of the internet was affected, a figure the BBC said it was unable to verify.9 Whether anyone has actually been compromised at scale is contested, and I cannot settle it. The exposure that is concrete is mundane. Older branches get no upstream fix and depend on vendors.10 And the official wordpress:fpm Docker image was reportedly still shipping an unpatched 8.3 build at release time.11
So here is my view. The AI discovery is real and probably the least interesting part. OpenAI’s own programme describes pairing models with expert human review to help patch as well as find vulnerabilities.12 That pairing is the whole game, because finding bugs is getting cheap and everything downstream is still slow, underfunded and run by a handful of volunteers and contractors. A report waved off in 2020, a fix that sat for months, a leak, and a week of bad advice: none of that needed a model. If machines are going to hand maintainers hundreds of credible findings, the bottleneck is triage, coordination and plain communication. I would put money there before another launch page with a comic-book backstory, which at least one commenter found hard to take seriously.13 Patch your PHP, and if you cannot, get it off the public internet until you can.
Sources
- 1 @1vuio0pswjnm7 on PHP2Shell: AI uncovers critical RCE in PHP — ycombinator.com
- 2 Today’s PHP security release, and how we’re strengthening security — thephp.foundation
- 3 Ryan Austin of security firm Calif — calif.io
- 4 PHP2Shell: PHP Remote Code Execution Exploited — watchtowr.com
- 5 What the PHP2Shell rumors got wrong, from inside the PHP security team — daubois.dev
- 6 @jopicornell on Today’s PHP security release, and how we’re strengthening security — ycombinator.com
- 7 What to do as critical PHP flaws puts millions of websites at risk | Computer Weekly — computerweekly.com
- 8 PHP devs publish critical bug fix as site owners warned: Pull ‘em offline if you’re unpatched — theregister.com
- 9 Install critical PHP safety update or go offline, cyber chiefs tell websites — bbc.com
- 10 @philipwhiuk on PHP 8.2.35 — ycombinator.com
- 11 @teekert on PHP 8.2.35 — ycombinator.com
- 12 Patch the Planet — openai.com
- 13 @airhangerf15 on PHP 5.6.12 Still Vulnerable? — ycombinator.com
How this was made
- 01-research z-ai/glm-5.3-flash $0.054
- 03-annotate z-ai/glm-5.3 $0.079
- 04-nominate deepseek/deepseek-v4-flash-0731 $0.003
- 06-write anthropic/claude-sonnet-5.5 $0.060
- 06-edit google/gemini-3.8-flash $0.030
- 08-visualise anthropic/claude-sonnet-5.5 $0.048
total $0.274