AI

AI found two decade-old holes in PHP. The hard part is who cannot patch them.

Wiz Research surfaced CVE-2026-109618 and CVE-2026-109619 using GPT-5.6 Sol and Gemini 4 Argon — unauthenticated remote code execution, rated 9.2, present in every PHP release back to 2004. Fixes shipped on 21 October for 8.2 and newer. Everything older, including a large share of the WordPress estate, is still waiting on a backport.

N Noah · The Sharp Brief · October 22, 2026 · 5 min read

Two memory-safety bugs sat in the PHP interpreter for more than a decade. Wiz Research found them in August, using an internal auditing system alongside two frontier models — OpenAI’s GPT-5.6 Sol and Google’s Gemini 4 Argon. Patches landed on 21 October. By Thursday, government web services in Finland, parts of the BBC’s site, Edinburgh Council pages and French Interior Ministry sites had gone dark as a precaution.

The two CVEs — CVE-2026-109618 and CVE-2026-109619 — are rated 9.2. Both come from the same place: how PHP handles fatal errors, particularly out-of-memory conditions, which can leave corrupted state behind for the next request to pick up. The first is a use-after-free in the upload-progress unserializer, and it leaks process memory to an unauthenticated attacker: passwords, tokens, API keys, certificates. The second pairs a fatal-error backtrace use-after-free with an OPcache type confusion, and that is the one that gets you a shell. Wiz demonstrated pre-authentication remote code execution against WordPress, Drupal and Joomla.

Scale is the uncomfortable part. PHP runs roughly three-quarters of the websites whose language can be identified, and every release going back to PHP 5 is affected by at least one of the two.

Finding it was the easy half

The disclosure timeline is tidy. Discovery on 19 August. Reported to the PHP team on 24 August. Acknowledged on 21 September. Fixes and public disclosure on 21 October, with coordinated advisories the same day from the UK’s NCSC, the NSA, CERT-EU and agencies in Australia and Japan.

Then the pipeline narrows. The emergency releases — 8.2.35, 8.3.36, 8.4.27 and 8.5.12 — cover PHP 8.2 and newer. Anything older needs a backported fix from a distribution or a long-term-support vendor, or a version upgrade that nobody schedules in an afternoon. A large share of the WordPress estate still runs PHP 7.x. Practitioners spent Wednesday and Thursday reporting that some managed platforms had not shipped the update at all yet.

There is no confirmed exploitation in the wild. There is a leaked demonstration video, circulating under the name PHP2Shell, showing code execution against most of the stack you would expect: WordPress, Magento, phpBB, MediaWiki, Laravel, Symfony, Drupal, WHMCS. That gap — between a working proof of concept and a patched estate — is what sent organisations offline rather than online.

Our take: The news is not that AI found a bug. It is the asymmetry the find exposes. A decade of human review missed these; a model-assisted audit surfaced them in weeks, and the same capability is available to people who will never file a coordinated disclosure. Vulnerability discovery just got faster. Patch distribution did not. The organisations that went dark this week were not the ones that could not find the flaw — they were the ones that could not deploy a new interpreter version inside twenty-four hours. That capability, not the scanning, is the thing worth budgeting for.

What to watch

If you run PHP anywhere facing the internet, the order matters: inventory first, check for signs of compromise second, patch third. A box that has already been visited does not become clean because you upgraded it.

Advertisement

Get the day, decoded — at 7 PM ET

The Sharp Brief: AI, money, business & performance in five sharp minutes. Free.

Free bonus: subscribe today and The 2026 AI Playbook (PDF) lands with your welcome email.

★ Recommended by 5+ newsletters across AI, markets & business.