php2shell: two PHP flaws, every web server, and a leaked embargo

Two critical bugs let an unauthenticated request run code on PHP servers, on Apache with mod_php before any application code runs. How they were found, how the embargo broke, and what to patch first.

ALT-54Analysis29 Oct 2026

  • Confirmed
  • Reported
  • Claimed
  • Our reading
Timeline
  1. 2024The first signs of the memory-limit bug surface while fixing a finding from Quarkslab's external audit of PHP.
  2. Aug–Sep 2026Calif reports an unconditional RCE with the same root cause (11 Aug); Wiz reports (24 Aug); OpenAI independently reports further vectors (18 Sep).
  3. 17 Oct 2026Amazon's honeypots record an exploitation attempt, four days before disclosure, according to Help Net Security.
  4. 20 Oct 2026The CVE IDs appear on forums with a wrong release time and a wrong CVSS of 10.0; a proof-of-concept video is published by mistake.
  5. 21 Oct 2026Release moved forward a day to 14:00 UTC; CISA issues an alert the same day.
  6. 26 Oct 2026Both CVEs added to CISA's Known Exploited Vulnerabilities catalog.
CVSS score of each flaw (the leak claimed 10.0)
9.2The PHP Foundation
Supported branches fixed: 8.5, 8.4, 8.3 and 8.2
4CISA

What the two bugs are

  • CVE-2026-109618: out-of-memory corruption: if a request hits memory_limit at the wrong moment, PHP can leave half-initialised internal data that it later treats as valid.
  • CVE-2026-109619: stale global state: a fatal error at the wrong point can leave internal state pointing at memory from a previous request, which a later request on the same worker then uses after it was freed.

Who is exposed

CISA's alert covers every PHP installation that serves web requests: Apache with mod_php (which PHP rates highest risk), PHP-FPM, php-cgi, FrankenPHP and LiteSpeed. PHP 8.1 and earlier are no longer supported upstream; minimal source backports exist for 7.4, 8.0 and 8.1, otherwise it is a vendor or an upgrade.

PHP is often buried inside other products, so the first job is finding where it runs at all.

Why it took so long

The PHP Foundation is unusually candid: the fix stalled for months after the first signs in 2024, and it calls the delay “a structural failure, caused by both the security team's decision process and its lack of resources.” It has since added staff and changed how the security team decides.

Wiz's researchers say frontier AI models “substantially reduced” the barrier to turning the long-standing flaw into an exploit.

Our readingOur reading

Altumptic's interpretation of the sources below, kept apart from the facts.

  • When finding exploits gets cheaper, slow fixes get more expensive. Old bugs in core runtimes are now within reach of many more people, the point of ALT-12.
  • Embargoes fail at their weakest link: a leaked ID, a video posted early, a vendor that ships first. Plan as if details will be public on day zero.
  • Critical infrastructure maintained by a few funded people is a risk everyone carries; Heartbleed (ALT-14) taught the same lesson twelve years ago.

What to do

  1. Inventory every PHP runtime, including inside appliances and vendor products, and patch internet-facing ones first.
  2. If you cannot patch now, take the service offline or put it behind a WAF until you can, as CISA advises.
  3. Alert on PHP worker processes that launch shells or download tools: CISA's suggested detection.
  4. Move off unsupported PHP branches; they will not get the next fix either.

Evidence and sources

  1. The PHP Foundation: Today's PHP security release, and how we're strengthening PHP security (21 Oct 2026)
  2. CISA: Critical vulnerabilities in PHP require immediate patching (21 Oct 2026, updated 26 Oct)
  3. Help Net Security: php2shell: PHP vulnerabilities patched (21 Oct 2026)
  4. PHP: News archive 2026

Altumptic has no involvement in these incidents and no non-public information about them. Figures are as reported by the sources above on the dates given.

Corrections

No corrections since publication on 29 Oct 2026. If something here is wrong, write to the lab through the security page; a correction will say what changed and when.

Cite this entry

Altumptic Lab (2026). ALT-54: php2shell: two PHP flaws, every web server, and a leaked embargo. 29 Oct 2026. altumptic.com/research/php2shell-2026