PHP2Shell AI-Discovered PHP Vulnerability
TECH

PHP2Shell AI-Discovered PHP Vulnerability

40+
Signals

Strategic Overview

  • 01.
    PHP2Shell refers to two critical CVEs, CVE-2026-109618 and CVE-2026-109619, both classified CWE-824 (access of uninitialized pointer) and both scoring 9.2 (Critical) on CVSS v4.0, letting an unauthenticated attacker execute code on a server running PHP and potentially take control of it.
  • 02.
    CVE-2026-109618 is triggered when PHP runs out of memory mid-request, leaving internal data half-built for cleanup code to trust; CVE-2026-109619 is a use-after-free in PHP core's own upload-progress feature.
  • 03.
    PHP shipped emergency fixed releases 8.5.12, 8.4.27, 8.3.36, and 8.2.35 on October 21, 2026. PHP 8.1 and earlier have no regular upstream fix, and PHP states that no configuration change fully mitigates these vulnerabilities.
  • 04.
    Security firm Calif (researcher Ryan Austin) found one flaw in August 2026 using OpenAI's GPT-5.6 Sol as part of OpenAI's 'Patch the Planet' project. Google-owned Wiz independently found both flaws weeks later using its own Wiz Atlas tool plus Gemini 4 Argon and GPT-5.6 Sol.

From Decade-Old Theory to Weaponized Exploit

From Decade-Old Theory to Weaponized Exploit
PHP powers an estimated 70% of the world's websites, which is why a flaw in the language's own core became a global problem overnight.

PHP2Shell is not one bug but two: CVE-2026-109618 and CVE-2026-109619, both classified CWE-824 (access of an uninitialized pointer) and both scoring 9.2 'Critical' on CVSS v4.0, enough to let an unauthenticated attacker run their own code on any reachable PHP server[1]. The first flaw fires when PHP runs out of memory midway through setting up a request, leaving half-built internal data for cleanup code to blindly trust; the second is a use-after-free hiding inside PHP core's own upload-progress feature[2]. Neither is a brand-new coding mistake - the underlying defects had existed in PHP for more than a decade, but turning 'theoretically bad' into 'practically exploitable' required a multi-step chain that researchers describe as sitting right at the edge of human-only discovery[3].

Who Really Found It: The OpenAI-Calif-Wiz Credit Dispute

The discovery timeline became its own flashpoint. Security firm Calif, led by researcher Ryan Austin, says it found one of the two flaws in August 2026 using OpenAI's GPT-5.6 Sol model as part of OpenAI's 'Patch the Planet' initiative[3]. Weeks later, Google-owned Wiz says it found both flaws independently, using its own Wiz Atlas research tool alongside Gemini 4 Argon and GPT-5.6 Sol[3]. OpenAI's Codex Security team filed its own root-cause report on August 11 and flagged additional attack vectors on September 18[4], and the company later called the bug 'one of the most impactful security issues in recent memory' given PHP's reach[3]. Calif pushed back on the cleaner 'AI found it alone' narrative that circulated afterward, saying 'No model is simply capable of unearthing "all bugs" with simple prompts. At least for now.'[3]

The Line AI Erased: From 'Known Flaw' to 'Working Exploit'

Long before the public panic, this bug class was already a known weakness, not a secret one - the underlying memory-safety defects had existed in PHP for more than a decade, and researchers describe the real barrier to exploitation as a complex, multi-step chain sitting at the edge of human-only discovery capability[3]. AI-assisted analysis is what closed that gap, and it reframes what 'theoretical' means in software security: a widely shared read among developers watching the disclosure was that it no longer takes a human expert's full, sustained attention to turn a known weakness into a working exploit - pointing a sufficiently capable model at the system and asking it to find the path can now be enough on its own. That shift showed up in how the finding itself was described: the original disclosure thread read less like a warning and more like a technical trophy, checking off pre-authentication remote-code-execution wins against WordPress, Drupal, and Joomla in quick succession, before security press reframed the same information into a 'patch now' emergency within hours.

The Blast Radius: Government Outages and a Still-Unpatched Internet

The scramble had real victims. In Europe, Germany, France, Belgium, the Netherlands, Finland, and Czechia all took government websites offline as a precaution[5], and in the UK alone, 32 government services went fully dark and four more were partially unavailable, with the technology minister stressing that 'we are not currently aware of any confirmed compromise of central government systems'[6]. Attackers did not wait for the public clock to start, either: Amazon's own honeypot telemetry recorded an exploitation attempt on October 17, four days before the public disclosure on October 21[2]. The exposure numbers explain the panic: Censys counted roughly 1.57 million unpatched PHP hosts out of about 1.58 million detectable PHP installations on the day of disclosure[7], while Cloudflare watched attack attempts climb from a pre-disclosure trickle of thousands to tens of thousands within 45 minutes of the announcement, hundreds of thousands within two hours, and millions by the next morning[7].

CEOs Agree: This Is the New Normal

CEOs Agree: This Is the New Normal
Cloudflare CEO Matthew Prince warned PHP2Shell is likely the first of years of near-weekly AI-driven security crises.

The loudest reactions came from the top of the security industry, and they converged on the same unsettling point - this will happen again, soon, and often. Cloudflare CEO Matthew Prince framed PHP2Shell as the opening act of a multi-year pattern: 'I think we're going to have a couple years where every single week it's going to feel like the sky is falling.'[8]CrowdStrike CEO George Kurtz pushed back on any instinct to slow AI development in response, arguing instead that defenders have to match its pace: 'The frontier will move at whatever speed it moves. The rest of the world will not slow down. Our job in the cybersecurity community is to make sure it moves securely and safely.'[7]That urgency is backed by CrowdStrike's own telemetry, which showed likely AI-agent-driven attacks roughly doubling month over month through August and September 2026[7]- a trend PHP2Shell's rapid leak-to-exploitation timeline did nothing to slow.

Historical Context

2026-08-01
First PHP2Shell flaw discovered using OpenAI's GPT-5.6 Sol as part of OpenAI's 'Patch the Planet' initiative.
2026-08-11
OpenAI filed an independent root-cause report on the vulnerability.
2026-09-18
OpenAI identified further attack vectors for the same flaw.
2026-10-17
Amazon's honeypot telemetry recorded the earliest known exploitation attempt, four days ahead of public disclosure.
2026-10-21
PHP shipped emergency patched releases (8.5.12, 8.4.27, 8.3.36, 8.2.35) and publicly disclosed CVE-2026-109618 and CVE-2026-109619.

Power Map

Key Players
Subject

PHP2Shell AI-Discovered PHP Vulnerability

CA

Calif (security firm) / Ryan Austin

Independent researcher who first discovered one of the two PHP2Shell flaws in August 2026 using OpenAI's GPT-5.6 Sol as part of OpenAI's 'Patch the Planet' project; emphasized human domain expertise guided the AI.

WI

Wiz (Google-owned cybersecurity firm)

Independently discovered both PHP2Shell flaws weeks after Calif, using its own Wiz Atlas autonomous research tool plus Gemini 4 Argon and GPT-5.6 Sol; publicly stated PHP powers roughly 70% of the world's websites.

OP

OpenAI

Credited as an independent reporter via its Codex Security research team (root-cause report Aug 11, additional attack vectors Sep 18); framed the discovery as proof of AI-assisted vulnerability research's growing power.

CL

Cloudflare / CEO Matthew Prince

Tracked exploit-attempt volume in real time (thousands pre-disclosure, millions within a day) and publicly warned of years of recurring AI-driven security emergencies.

CR

CrowdStrike / CEO George Kurtz

Argued the security industry must keep pace with accelerating AI-driven offense rather than try to slow it down; CrowdStrike separately reported AI-agent-driven attacks roughly doubling month over month.

UK

UK Government / Baroness Lloyd of Effra (Tech Minister)

Confirmed 32 UK government services unavailable and 4 partially unavailable due to precautionary PHP2Shell shutdowns; stated no confirmed central-government compromise.

Fact Check

8 cited
  1. [1] PHP CVE-2026-109618 FAQ
  2. [2] Recorded Future: PHP2Shell Vulnerability Exploitation
  3. [3] PHP2Shell: The AI-Discovered PHP RCE Dividing OpenAI and Wiz
  4. [4] PHP2Shell: Does AI Really Find PHP Vulnerabilities? The Roles of OpenAI
  5. [5] PHP2Shell: Government Websites Offline Across Europe
  6. [6] PHP2Shell Puts Dozens of UK Government Services Out of Service
  7. [7] AI Weekly: PHP2Shell, Millions of Attacks, 1.5M Servers Unpatched on Day One
  8. [8] Cloudflare CEO Warns of Weekly AI-Driven Cybersecurity Crises for Years

Source Articles

Top 5

THE SIGNAL.

Analysts

“Argues PHP2Shell is the start of a multi-year pattern where AI-assisted vulnerability discovery produces near-weekly security crises: 'I think we're going to have a couple years where every single week it's going to feel like the sky is falling.'”

Matthew Prince
CEO, Cloudflare

“Pushes back against calls to slow AI development, framing the security industry's job as keeping pace with AI-accelerated offense: 'The frontier will move at whatever speed it moves. The rest of the world will not slow down. Our job in the cybersecurity community is to make sure it moves securely and safely.'”

George Kurtz
CEO, CrowdStrike

“Cautions against overstating AI's independent role in the discovery, saying a researcher's prior knowledge of PHP's history was more decisive than the model itself: 'No model is simply capable of unearthing "all bugs" with simple prompts. At least for now.'”

Calif research team
Security firm that first identified one PHP2Shell CVE

“Confirmed the scale of UK service disruption while stressing no breach of central government systems had been confirmed, framing outages as precautionary: 'We are not currently aware of any confirmed compromise of central government systems.'”

Baroness Lloyd of Effra
UK Technology Minister
The Crowd

“Today we disclose PHP2Shell - remotely exploitable memory corruptions in PHP WordPress pre-auth RCE: ✅ Drupal pre-auth RCE: ✅ Joomla pre-auth RCE: ✅ Remote memory disclosure of any PHP application: ✅ Read more ⬇🧵”

@@sagitz_3099

“⁉️ BREAKING - PHP releases emergency patches for two critical #PHP2Shell RCE flaws (CVSS 9.2) as early exploit attempts emerge. The flaws can enable unauthenticated code execution and expose server memory. 👉 PATCH NOW (CVE-2026-109618, CVE-2026-109619)”

@@TheHackersNews1764

“PHP discloses a critical memory-management vulnerability, dubbed "PHP2Shell", that affects up to 70% of websites, discovered using GPT-5.6 Sol in August (@bobmcmillan / Wall Street Journal)”

@@Techmeme3

“PHP2Shell and your security team”

@u/general-noob268
Broadcast
A PHP Bug Just Took Websites Offline Worldwide

A PHP Bug Just Took Websites Offline Worldwide

PHP Vulnerability 2026: PHP2Shell Explained + How to Fix

PHP Vulnerability 2026: PHP2Shell Explained + How to Fix

PHP2Shell Explained: The PHP Bug That Put 70% of Websites at Risk

PHP2Shell Explained: The PHP Bug That Put 70% of Websites at Risk

PHP2Shell AI-Discovered PHP Vulnerability — AI News | Agentic Brew