October was an interesting month for web security. The PHP emergency release made the news everywhere. We had people trying attacks before the patches were public. There was a lot other stuff going on.
But I wanted to write about the PHP story. It’s worth touching on. So what all is actually involved in updating PHP versions, and why did this release become an emergency?
There’s the obvious job of updating the servers, which normally isn’t a big deal and can happen at any time.
Well, probably not suprising anyone at this point, but the problem is AI. It puts pressure on the system at every step.
- The time between when bugs are reported and the code is patched.
- The time between when the code is patched and the binaries are released.
- The time between when the patched versions are released and deployed to vulnerable servers.
We need to do our best and that takes time.
What happened with PHP
On October 21, PHP released 8.5.12, 8.4.27, 8.3.36 and 8.2.35 to fix two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619. Both can allow unauthenticated remote code execution. PHP’s guidance was straightforward: update. Configuration changes could reduce particular risks, but couldn’t replace the fixes. PHP announcement
The bugs involve what happens when request processing goes wrong. One concerns memory that hasn’t been fully initialized when an out-of-memory error interrupts execution. Cleanup can then treat that unfinished state as valid. The other involves state from one request surviving after its memory has been freed, where a later request handled by the same worker can encounter it. OOM advisory, stale-state advisory
That’s a different problem from an application forgetting to validate a form. On Apache with mod_php, the demonstrated OOM attack could happen before application code ran. You could be careful in your own code and still need the runtime update.
On October 23, PHP issued a further advisory about a separate session upload progress vulnerability, CVE-2026-115560, involving unusual runtime changes to session serialization. In that notice, PHP recommended disabling session upload progress as an interim measure and said a full advisory would accompany the next regular bugfix release. This doesn’t mean the October 21 patches failed; it was another issue to account for. PHP follow-up advisory
The attacks did not wait for the release
According to the PHP Foundation, CVE IDs began circulating on October 20 without technical details. PHP brought its pre-announcement forward and moved the release from October 22 to October 21. Distributors still needed time to finish packaging. The Foundation also describes a mistakenly published demonstration video and early distribution of patched images. Foundation account
The attack timeline starts earlier. Amazon reported an attempted exploit in its MadPot honeypots on October 17, four days before the public patch release. It saw additional attempts on October 21 between 02:00 and 08:00 UTC. Amazon didn’t know how the earlier actor obtained the information, or whether the attempts would have succeeded against real systems. Those distinctions matter. Amazon Threat Intelligence
Cloudflare also reported attack traffic during the pre-release period and attackers changing payloads to try to get around its protections. Its post gives 03:02 UTC on October 21 as the time default WAF protection was available to customers. It still told people to patch. Cloudflare’s report
No idea who leaked what. The useful point is that the public release date wasn’t the beginning of the risk. An incident review should start before the October 21 announcement.
Old code and new capabilities
Cloudflare describes affected versions going back to PHP 5.4, which was released in March 2012. That’s a long time. But the age of affected code and the amount of time people knew how to exploit it are different questions. PHP 5.4 release history
The Foundation traces its first signs of the OOM problem to 2024. It says work stalled over difficult compatibility trade-offs, limited resources and decision-making, before the full RCE impact became clear in August 2026. Its account acknowledges a structural failure and describes changes toward majority decisions and earlier leadership involvement.
AI makes that situation more urgent. Amazon argues that AI-assisted analysis makes it cheaper to turn a patch or advisory into an exploit. That doesn’t establish that AI produced the October 17 attempt. It does give us a reason to question how much time we expect between disclosure and someone trying to use it.
PHP’s security team is also using AI to validate reports and identify shared root causes. People still reproduce the issues, decide severity and write or review patches. That’s work that takes attention and knowledge of the engine. Faster reports can put more work in that queue. How PHP handles security reports
What I take from the PHP release
For teams running PHP, being able to identify affected systems and get updates deployed quickly is practical work worth doing before the next emergency. So is knowing who can approve a disruptive change when waiting has its own cost.
For companies depending on open source, funding experienced maintainers belongs in that conversation too. Someone has to understand the failure, weigh the fixes, test them and make a decision. Finding more bugs doesn’t remove any of those jobs.
I’d like to see these incidents lead to better support for that work. We need the people maintaining them to have enough time, help and authority to keep up.
Sources
- PHP release announcements and follow-up advisory.
- OOM vulnerability advisory and stale-state vulnerability advisory.
- The PHP Foundation’s release and governance account.
- Amazon’s observations of pre-disclosure attempts.
- Cloudflare’s attack observations and WAF response.
- PHP 5.4 release history.
- How PHP’s security team handles reports.
I’d appreciate a follow. You can subscribe with your email below. The emails go out once a week, or you can find me on Mastodon at @[email protected].