Skip to main content

News

PHP2Shell: Core PHP Flaws Put Decades of Web Apps in Reach

php2shellphpdisclosurerce

Calif, OpenAI, and Wiz disclosed two critical remote-code-execution flaws in the PHP engine itself—not in any single CMS. Patches shipped October 21, 2026.

On October 21, 2026, the PHP project shipped an emergency security release for two critical vulnerabilities tracked as CVE-2026-109618 and CVE-2026-109619. The research community quickly labeled the cluster PHP2Shell.

The story is not that WordPress, Drupal, or Joomla suddenly grew a new bug in application code. Calif Research’s write-up makes the point plain: the weaknesses sit in core PHP—how the interpreter handles fatal errors, especially out-of-memory conditions, while request state is only partly initialized. Later requests handled by the same worker can reuse that stale state. That is why a “Hello World” PHP app on a vulnerable runtime can be as exposed as a major CMS.

A long fuse

Calif’s timeline stretches from Stefan Esser’s early-2000s memory-limit research, through a 2020 bug report about long variables and temporary files, to a 2024 audit that saw related behavior but did not prove remote code execution. In summer 2026, Calif—working with OpenAI’s Patch the Planet effort—and, separately, Wiz Research, demonstrated that the pattern was exploitable under default configurations across modern SAPIs.

Public coverage credited Calif, OpenAI, and Wiz for discovery and coordination. Calif’s primary technical narrative is published at calif.io/php2shell. Wiz’s parallel briefing emphasized that PHP powers a large share of websites and that memory disclosure plus unauthenticated code execution in the engine itself raises the stakes beyond any one product line.

What was patched

Fixed releases include PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. Unsupported lines such as PHP 8.1 and earlier do not receive official fixes. CISA urged immediate patching the same day and later added both CVEs to its Known Exploited Vulnerabilities catalog.

This article is intentional overview, not a reproduction guide. Operators should treat vendor and national-CERT advisories as authoritative for remediation—and assume internet-facing PHP workers are high priority until inventories say otherwise.

Why it landed as news

PHP2Shell became a mainstream story because the vulnerable surface is infrastructural. When the language runtime is wrong, application-layer hardening cannot fully compensate. That is the same class of shock Heartbleed and Log4Shell delivered: shared foundations, shared blast radius, and a race between patch pipelines and opportunistic scanning.

Sources