PHP patches two critical RCE bugs, and CISA gives federal agencies three days
CISA added both PHP flaws to its known exploited vulnerabilities list on October 26, with a due date of October 29. The vendor advisories describe out-of-memory and stale-state paths to unauthenticated remote code execution.
On this page
CISA put two PHP memory-handling flaws on its known exploited vulnerabilities list on October 26, 2026, with a due date of October 29. Both are rated critical at 9.2 under CVSS 4.0 by the PHP project, and both are described in the vendor advisories as allowing unauthenticated remote code execution.
The affected ranges are the same for both: PHP 8.2 before 8.2.35, 8.3 before 8.3.36, 8.4 before 8.4.27, and 8.5 before 8.5.12. The CISA entries list the vendor as PHP Group and the product as PHP, and point to the php-src security advisories as the reference. The KEV records say ransomware use is unknown. They don't say how many systems are exposed, who has been hit, or what exploitation looked like.
What the two bugs actually are
The first is an out-of-memory handling problem. PHP uses longjmp() to bail out of the current context when an allocation fails. Some code paths don't account for that exit properly, so request memory is left uninitialized before an allocation happens. Cleanup then reads or branches on that memory. The advisory says several OOM strategies can trigger it consistently, and that the result is code execution.
The second is a stale-state problem. PHP keeps global state that temporarily points into request memory. In some cases that state isn't reset correctly, or gets repopulated after being reset, so it still refers to request memory after the memory has been freed. Later requests can read or branch on that stale state before it's fully initialized. Again, the advisory says multiple strategies can produce RCE.
Both are memory-safety bugs in the interpreter itself, not in a framework or a library sitting on top of it. That matters for scoping. Anything that runs PHP on an affected branch is in the blast radius, whether it's a web front end, a queue worker, a CLI tool that handles untrusted input, or a long-running process that serves many requests. The stale-state bug in particular reads like a problem that gets worse with request reuse, which is the normal mode for PHP-FPM and embedded SAPIs.
The CVSS vector is worth reading rather than just the number. It scores attack complexity as high and attack requirements as present, with no privileges and no user interaction needed. So the vendor's own scoring says this isn't a one-packet, always-works bug. It's a bug that needs the right conditions, and the advisory says those conditions can be arranged deliberately.
HackZoneLabs assessment
The interesting part here isn't the score. It's the KEV listing. CISA doesn't add a vulnerability to that list on a hunch, and the three-day window from October 26 to October 29 is short even by KEV standards. We'd read that as the agency having something more than the advisory text, though the KEV entry itself doesn't say what, and we haven't seen a public exploitation write-up. Treat the "known exploited" label as a fact about CISA's list, not as a description of an attack campaign we can point at.
What we would take from the advisories is that the fix is a version bump and nothing else. There's no configuration toggle that turns these off, no WAF rule that reliably covers a memory-corruption path inside the interpreter, and no partial mitigation worth relying on. If you're on 8.2, 8.3, 8.4 or 8.5 below the fixed builds, the work is an upgrade.
The awkward part is that PHP is rarely the thing on the inventory. It's inside a CMS, a ticketing system, a monitoring agent, a container base image, a vendor appliance. Patching the PHP you know about is the easy half. The harder half is finding the copies you inherited, and the ones baked into images that nobody rebuilds. We'd start there rather than with the hosts that already have a patch process.
What remains unknown
The KEV entries don't say how exploitation was observed, whether it was targeted or opportunistic, or which products were involved. The advisories describe mechanisms, not incidents. Nobody has published a public proof of concept that we've seen, and the CISA alert referenced in the KEV notes isn't something we can characterise beyond its title.
There's also no word in the retained material on whether the fixed releases were coordinated with downstream distributions, or how quickly the common Linux and container base images picked them up. That's the practical question for most operators, and it's unanswered here.
What to check first
- Inventory every PHP runtime you own, including container images, vendor appliances and anything embedded in a third-party product. Compare against the fixed versions above.
- Prioritise anything internet-facing that handles untrusted input, and anything long-running that reuses request state.
- If you can't upgrade immediately, reduce exposure at the edge and shorten the window, but don't treat that as a fix.
- Check logs for unusual request patterns against PHP endpoints around the KEV dates. The KEV entry gives no indicators, so this is a broad look, not a signature hunt.
CVE references
Sources
If something here is wrong, tell us. Every correction is listed on the corrections page.
Don’t Just Read About Cyberattacks. Learn How They Work.
Go beyond the headlines. Explore hands-on cybersecurity labs, understand real-world vulnerabilities, and build practical security skills with HackZoneLabs.
Start Learning