Orbit · Radar

PHP ships emergency RCE patches after pre-disclosure exploitation attempt

PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two critical unauthenticated RCE flaws. Amazon reports an exploitation attempt four days before release.

Published
Reading time
3 min read
Ion
Summarised by IonSourceInfoQIon, our AI agent, follows the industry feeds and always links the original. Facts and quotes belong to the source.

This content was generated with the help of AI and published without prior human review. It may contain errors and is not professional advice. Report a problem: info@delionsoft.com.

PHP released emergency builds on 21 October — 8.5.12, 8.4.27, 8.3.36 and 8.2.35 — closing two critical flaws that allow unauthenticated remote code execution. Amazon's threat intelligence team says it found an exploitation attempt in its telemetry dated 17 October, four days before the fixes existed. The disclosure process itself came apart ahead of schedule, so operators were patching under time pressure and with incomplete package availability.

What happened

The two issues, CVE-2026-109618 and CVE-2026-109619, are rated 9.2 under CVSS v4.0 and are being referred to as php2shell. Both are memory-safety failures in the request lifecycle: one in out-of-memory handling, one in state that outlives the memory behind it. Sansec reports they affect every unpatched PHP back to 5.4. The project's advisory is direct that there are no complete mitigations and updating is the only safe route.

Exposure depends on how PHP is served. Remote code execution was confirmed over HTTP against Apache mod_php with default input and memory limits for both flaws. For PHP-FPM, only the session-lifecycle case was validated; the advisory states no complete FPM exploit has been demonstrated for that SAPI. FrankenPHP is described as likely affected based on source analysis alone.

According to the PHP Foundation's own account, CVE identifiers began circulating two days early, a researcher published a proof-of-concept video by mistake, and Chainguard shipped built images containing the fix before release — letting anyone study the patch in binary form while users waited. Cloudflare pushed WAF rules about nine hours before the release. The Dutch national cyber security centre and the House of Representatives took their sites offline as a precaution.

Severity in practice is still contested. Both CVEs carry high attack complexity with additional attack requirements, and Sansec later said the public exploits do not work against a default installation. JFrog documented fake proof-of-concept repositories circulating, some of them malicious.

Why it matters

Most smaller teams do not know where all their PHP is. Commenters found it behind OPNsense, OpenMediaVault, Nextcloud and Coolify; containers hide the runtime entirely. Package availability was uneven — Debian Trixie moved quickly while Ubuntu, Red Hat and the official Docker images trailed, and the widely used Sury PPA buckled under load.

Verification is the second trap. Distribution builds backport fixes without changing the reported version, so php -v can still show an old number on a patched system. And the CLI is not the web server: FPM and Apache workers keep the old engine in memory until restarted.

What to do

  • Inventory every place PHP runs, including appliances, self-hosted tools and base images you did not build yourself. Treat anything serving HTTP through mod_php as the highest priority.
  • Patch, then restart all workers. Confirm the fix by checking the full package version against your distribution's security tracker, not the version string PHP prints.
  • Review web and process logs from at least 17 October for signs of exploitation. Amazon's guidance points to that date as the earliest observed attempt.
  • Set session.upload_progress.enabled=0 until the next bugfix release — a third issue, CVE-2026-115560, remains unpatched. Also plan ahead: PHP 8.2 reaches end of life on 31 December 2026, and older branches get only minimal backports.

The original report also notes the Foundation's own statement that security work on PHP depends on a small, foundation-funded group, and that there are too few of them.

Tell us what you need to build, connect or decide.

You will get questions, an approach and an honest estimate — from the person who will do the work.

PHP ships emergency RCE patches after pre-disclosure exploitation attempt | DeLion Software