// dev.blog  —  jltdpxl
<< back to posts

Black October Is Just the Warm-Up

On October 21 the PHP project shipped emergency patches for two critical remote code execution flaws, CVE-2026-109618 and CVE-2026-109619, now collectively called PHP2Shell. Both score 9.2 on CVSS 4.0, both work without authentication, and Datadog's team confirmed that application-level auth can't stop them. Unit 42 counted more than 22 million potentially exposed instances. The same day, Node.js shipped ten security fixes, headlined by an out-of-bounds write in the Brotli decoder that can lead to remote code execution (CVE-2026-111497, 9.2 on CVSS 4.0). And Oracle issued an out-of-band Java security alert the same week, rated 9.1, after an Indian certificate authority's intermediate keys were found to be weak enough to recover.

The community has started calling it Black October. I think we'll look back on that name in a few months and find it a little quaint. Not because it wasn't bad, but because this is the mildest version of the trend we will ever see.

// The Permutation Engine Points at Your Code

A while back I wrote about the permutation engine: a model trained on an enormous corpus can enumerate combinations of what it has seen faster than any human can work through them. I was mostly excited about what that does for science and creativity. A vulnerability is the same kind of problem. A bug is a combination of conditions nobody thought to test together, and enumerating combinations is the thing these models are best at.

The details here are worth getting right. PHP2Shell is two separate bugs, one in how PHP cleans up after an out-of-memory failure and one in stale state surviving between requests on the same worker. They hit different stages of the request life cycle, and together they cover the whole attack. As for who found them, the credit goes to researchers at Calif, Wiz, and OpenAI, with OpenAI saying its model was part of the effort. One analysis argues it was human researchers using AI as an assistant, with PHP maintainers writing the patch. That distinction matters less than it sounds. A skilled human with a model beside them is the cheap, repeatable version, and it's the one that scales.

The Java story points the same direction. The eMudhra incident was an error in key generation, and reporting says a researcher warned Apple, Google, Microsoft and Mozilla that the keys could be reverse engineered, including with AI-assisted techniques. Earlier this month IBM and Red Hat reported more than 400 previously unknown vulnerabilities in popular Java code using AI agents. Those are the people publishing. Think about everyone who isn't.

// The Cost Curve

You don't need a frontier lab behind you for this. You need a capable model, a basic prompt, a target, and money to burn on tokens. The safety training on mainstream models is a speed bump, and open-weight models can be stripped of it entirely. Even that is optional for a lot of the work, because finding a flaw in code you're allowed to read looks a lot like ordinary code review.

There's a data point on how low the bar sits. Chainguard CEO Dan Lorenc says his team reproduced the PHP flaws by pointing a frontier model, run through their own harness, at PHP with a generic instruction to look for serious bugs. According to The Register, that was enough to surface the same memory corruption issues. It is a vendor's own account and I haven't seen it independently verified, and it sits in the middle of an embargo dispute with the PHP Foundation, because Chainguard published patched images hours before the coordinated release. Lorenc's argument for doing so was that the bug was too easy to rediscover to keep quiet about. ReliaQuest reported something similar from the other direction: a commercial model helped turn the public reporting into proof-of-concept code that reproduced the memory corruption in a lab. Embargoes are built on the assumption that finding the bug is hard, and that assumption is going away.

Meanwhile the clock is getting shorter. Details of the PHP flaws leaked ahead of the embargo, and Amazon Threat Intelligence saw an exploitation attempt dated October 17, four days before public disclosure. The window between "a patch exists" and "someone is weaponizing it" is already measured in hours, and the attackers have the same tools we do for reading a patch diff and working backward to the bug.

When finding a critical bug costs a few dollars in tokens, the attack surface stops being a list of things you defend and becomes a bill you pay.

// The Defensive Side Has the Same Tools

All hope is not lost. Everything an attacker can point at your code, you can point at it first. The same models find the same classes of bug, propose the patch, and write the regression test. Labs are starting to fund this on purpose, and the firms that found these bugs coordinated disclosure with the maintainers instead of selling them. If you run a .NET shop on Azure like I do, this means putting AI-assisted review and dependency scanning into the pipeline, and treating the runtime and the base image as part of your attack surface rather than someone else's problem.

It is an arms race, though, and arms races reward speed and decisiveness. Node's own advisory is a good example of what that means in practice: upgrading the host isn't enough, because every container image and binary carries its own copy of the runtime, and Node 20 and older get no fix at all. Do you know how many of those you run? Can you rebuild and redeploy all of them in a day?

// What Worries Me

The tooling is available to everyone. The part I'm less sure of is the people. There are a lot of entrenched engineers still finding their way in this new world, and organizations whose patch process runs on a monthly change board. That process was built for an era when exploitation took weeks. Teams that can't react at the speed of the threat will leak data, and we'll read about it.

This is where I think architects and platform teams earn their keep. Make the fast path the easy path: automated dependency updates, reproducible builds that can be redeployed on short notice, an accurate inventory of what runs where, and agents doing the first pass of review on every change. Developer experience is security posture now.

Welcome to the brave new world. It only gets more interesting from here, and a lot faster.

// Sources