PHP shipped emergency releases on October 21 fixing two critical vulnerabilities that allow unauthenticated remote code execution. Amazon Threat Intelligence reported an exploitation attempt dating to October 17, discovered in MadPot telemetry originating from an IP address associated with a commercial anonymization network. Cloudflare deployed WAF rules at 03:02 UTC on October 21, roughly nine hours ahead of the official patch release.
Vulnerability details and scope
The patches address CVE-2026-109618 and CVE-2026-109619, both rated 9.2 under CVSS v4.0 and nicknamed php2shell. Each vulnerability is a memory-safety failure in the request lifecycle. One occurs in out-of-memory handling; the other in state that outlives the memory backing it. Sansec reports the bugs are present in every unpatched PHP version since 5.4. The PHP Foundation's announcement states there are no complete mitigations; updating is the only safe choice.
Exposure varies by SAPI. Apache mod_php carries confirmed remote code execution for both vulnerabilities, validated over HTTP against mod_php with default PHP input and memory limits. For PHP-FPM the session lifecycle case was validated, but on the out-of-memory bug the advisory states that no complete FPM exploit has been demonstrated for this SAPI. FrankenPHP is described as likely susceptible on source analysis alone.
Early exploitation and disclosure collapse
Attackers arrived before the patch did. Amazon Threat Intelligence found an exploitation attempt dating to October 17 in MadPot telemetry. The PHP Foundation says the CVE identifiers began circulating two days early, that a researcher mistakenly published a video showing a proof of concept, and that Chainguard unilaterally broke the embargo and published built images containing the fix. The Foundation writes that any attacker could now study the fix in binary form while every other PHP user was still waiting for the release. Chainguard's published policy, last updated a month before the incident, allows it to shorten disclosure timelines when a vulnerability is discovered to be under active exploitation.
Operator responses
Some operators stopped serving rather than wait. On r/selfhosted, commenter iamShorteh described shutting down all websites and turning off apache2. The Dutch national cyber security centre took its own website offline as a precaution, as did the Dutch House of Representatives. Sansec told stores they did not need to.
Working out whether PHP was running at all came first for many. Commenters found it behind OPNsense, OpenMediaVault, Nextcloud and Coolify. Commenter spartacle noted that for quite a bit of homelab stuff it is really bad but the user does not know what languages a bunch of stuff uses, and containers obfuscate this away.
Package deployment timeline
Then came the wait for packages. Debian Trixie landed quickly while Ubuntu, Red Hat and the official Docker images trailed. Commenter Takeoded noted the Ubuntu security team had published nothing thirteen minutes after disclosure. Maintainer Ondřej Surý drew the loudest thanks on r/PHP, and his Launchpad PPA buckled under load, sending operators to packages.sury.org, where the PPA is being merged anyway. One team gave up on Docker Hub and built images from the merged Dockerfile themselves, finishing in eight minutes.
Confirming the patch
Confirming the patch had taken proved its own trap. Distro builds backport. Ubuntu 24.04's fixed package is 8.3.6-0ubuntu0.24.04.13, which still reports 8.3.6. The CLI is not the web server; FPM/Apache workers keep the old engine in memory until restarted. Both PHP advisories tell operators to restart every worker after updating. Ubuntu's advisory confirms those version strings.
Exploitation difficulty
How bad the vulnerabilities prove is still contested. Both CVEs carry AC:H and AT:P, high attack complexity with additional attack requirements. Sansec revised its expectation of mass exploitation: the public exploits do not work against a default PHP installation. Practitioners found the same. SirRobinBlibs warned against testing with GitHub proof-of-concepts because most of the starred ones do not work on vanilla PHP, and malicious PoC repos are a known thing. JFrog documented fake ones spreading as pranks, including one that changed the victim's wallpaper.
Foundation staffing and end-of-life policy
Commenters on r/PHP asked how many people handle this work. The Foundation answered in the same post, writing that security work on PHP still depends on a small group of foundation-funded developers and that today there are too few of them. The upgrade gap drew the thread's highest-voted comment, which called the end-of-life policy brutal. PHP 8.1 and older get nothing from the project, though it published minimal backports for 7.4, 8.0 and 8.1, and Ubuntu issued fixes as far back as 14.04 under ESM. PHP 8.2 reaches end of life on December 31, 2026.
Unresolved third issue
A third issue, CVE-2026-115560, remains unpatched. PHP advises setting session.upload_progress.enabled=0 until the next bugfix release, when it will publish the full advisory.