Why The PHP2Shell Story Took 22 Years—and How AI-Assisted Review Helped
AIThis post was created with the assistance of artificial intelligence (AI).

🔍 Read the full analysis: Why The PHP2Shell Story Took 22 Years—and How AI-Assisted Review Helped on ThorstenMeyerAI.com

Before you orderOffer from Amazon

Get hardware and tech essentials delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

TL;DR

PHP released fixes on October 21, 2026, for two critical remote code execution vulnerabilities known as PHP2Shell. The research drew on a 2004 warning about unsafe interruptions, a later out-of-memory bug report and AI-assisted code review; the researchers, not the models alone, directed the investigation.

PHP released fixes on October 21, 2026, for two critical remote code execution flaws, CVE-2026-109618 and CVE-2026-109619, now called PHP2Shell. Researchers at Calif and Wiz found vulnerabilities in the widely used web runtime through separate investigations that drew on an issue class documented in 2004, with AI tools assisting parts of the review.

The vulnerabilities could allow remote code execution, according to the source account, which says Calif found several independent paths to that outcome and Wiz separately identified a related flaw. Calif reported its first issue to the PHP security team on August 11, sent a proof of concept on August 14, and received confirmation on August 15. It reported a second issue on August 21. Wiz reported its finding to PHP on August 24.

Wiz’s disclosure says it used its Wiz Atlas platform alongside Gemini 4 Argon and GPT-5.6 Sol. The account says Wiz validated unauthenticated code execution against Drupal on August 20 and WordPress on August 21. Calif’s Ryan Austin described a different emphasis: a researcher with knowledge of PHP’s history selected the target and guided the search, using AI to help examine it. OpenAI said Calif used GPT-5.6 Sol as part of its Patch the Planet initiative.

The fixes were made by the PHP security team. The source material does not provide affected-version details or patch instructions, so PHP users should consult official PHP advisories for the versions and remediation steps relevant to their installations.

At a glance
reportWhen: Fixes shipped October 21, 2026; researc…
The developmentPHP shipped fixes for two critical remote code execution vulnerabilities after research teams used AI-assisted review to investigate a class of memory-limit and interruption problems first described in 2004.
Crypto market snapshot
Fear & Greed Index
68/100 — Greed
Bitcoin BTC$81,171▼ 3.8%
Ethereum ETH$2,377▼ 5.1%
Tether USDT$0.9991▼ 0.0%
BNB BNB$727.76▼ 2.8%
XRP XRP$1.32▼ 4.5%
USDC USDC$0.9996▼ 0.0%
Solana SOL$103.62▼ 4.1%
TRON TRX$0.3283▼ 1.3%
Live data · CoinGecko · alternative.me (24h change)
Thorsten Meyer AI
2004 → 2026

Infographic 01 · Timeline

One class of bug, four chances to catch it.

The flaws fixed on 21 October 2026 continue a line that starts with a 2004 advisory about unsafe interruptions.

22years from the 2004 advisory to the 2026 fix
2CVEs, both rated 9.2 (CVSS v4.0)
3research groups credited: Calif, OpenAI, Wiz
4fixed PHP branches on 21 Oct 2026
  1. Jul 2004
    Stefan Esser: memory_limit can stop PHP “where an interruption is unsafe”Advisory 11/2004, CAN-2004-0594. Remote code execution was possible. (e-matters)
  2. 28 Nov 2019
    Bug #78876: long upload fields cause out-of-memory, temp files left behindFixed May 2020 as CVE-2019-11048, a denial-of-service issue at the time. (PHP bug tracker)
  3. 2024
    Quarkslab audit with OSTIF and the PHP FoundationAccording to Calif, it rediscovered the same OOM issue; exploitation was not proven, so it stayed open. (Calif, OSTIF)
  4. 30 Jul 2026
    Calif joins OpenAI’s Patch the Planet and picks PHPStefan Esser brings in the PHP Foundation through Volker Dusch. (Calif)
  5. 1–21 Aug 2026
    Calif finds several RCE paths and reports two bugs to PHPFirst report 11 Aug, working proof of concept 14 Aug, confirmed by PHP 15 Aug, second report 21 Aug. (Calif)
  6. 19–24 Aug 2026
    Wiz Research finds its first PHP flaw and reports on 24 AugUsing Wiz Atlas, Gemini 4 Argon and GPT-5.6 Sol; RCE confirmed on Drupal and WordPress. (Wiz)
  7. 21 Oct 2026
    PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 releasedCVE-2026-109618 and CVE-2026-109619, both CVSS v4.0 9.2. Public disclosure the same day. (PHP)

“…possible for a remote attacker to trigger the memory_limit request termination in places where an interruption is unsafe.”Stefan Esser, e-matters Advisory 11/2004

Sources: e-matters Advisory 11/2004; PHP bug #78876; OSTIF; Calif: php2shell; Wiz Research (21 Oct 2026); PHP security advisory (21 Oct 2026).
Powered by Thorsten Meyer AI

Why PHP’s Old Bug Class Matters

PHP powers a large share of websites and web applications, so vulnerabilities in its runtime can affect software built on top of it. The reported ability to achieve remote code execution makes the flaws consequential: successful exploitation could let an attacker run code on a vulnerable server. The source material does not establish that attacks occurred in the wild.

The story also offers a more specific lesson about AI-assisted security work than the claim that models can find bugs on their own. Calif’s account credits researcher direction and historical knowledge with helping focus the review on an old, difficult-to-reason-about failure mode. AI tools assisted the investigation, but the available account does not show that they independently discovered or explained the entire vulnerability class.

Amazon

PHP security vulnerability scanner

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

From a 2004 Warning to PHP2Shell

In July 2004, security researcher Stefan Esser published an advisory warning that a remote attacker could trigger PHP’s memory-limit termination at a point where interrupting execution was unsafe. The concern was that PHP might be left with a partly built structure when cleanup began, potentially turning an ordinary out-of-memory failure into a security issue. PHP fixed the specific paths Esser reported, but the broader difficulty of handling interruptions safely remained part of the history described in the source.

A later clue appeared in PHP bug tracker report #78876, filed in November 2019. It described very large multipart form fields causing an out-of-memory condition and leaving temporary upload files behind. PHP fixed that issue in May 2020; it was assigned CVE-2019-11048 and treated as a denial-of-service problem because leftover files could consume disk space. Calif’s account presents it as a clue to what else an out-of-memory event might leave in an unsafe state.

Quarkslab audited PHP in 2024 with OSTIF and the PHP Foundation. Calif says the audit encountered the same out-of-memory issue, but exploitation was not proven. That account should be distinguished from OSTIF’s published summary, which lists 27 findings and four CVEs but, according to the source material, does not mention the out-of-memory issue. The reported history helps explain why a finding’s impact and exploitability matter as much as identifying a suspicious behavior.

“possible for a remote attacker to trigger the memory_limit request termination in places where an interruption is unsafe”

— Stefan Esser, in his July 2004 security advisory

Amazon

web application vulnerability testing tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What the Disclosures Do Not Establish

The source material does not specify which PHP versions are affected, how widely the flaws can be exploited across different deployments, or whether either vulnerability has been used in real-world attacks. It also does not provide technical details sufficient to compare the two CVEs or explain whether they share exactly the same exploitation conditions.

Some parts of the long history rely on Calif’s account rather than the cited public audit summary. In particular, Calif says the 2024 audit rediscovered an out-of-memory issue, while the summary described in the source does not mention it. The account says exploitation was not proven then; it does not establish that the audit finding was identical in every respect to the flaws fixed in 2026.

Amazon

AI-assisted code review software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Patch Status and Disclosure Details

PHP’s fixes are available from the project, but the source material does not list the patched release numbers or supported-version coverage. Administrators should check PHP’s official security advisories and update affected installations according to the project’s guidance. They should also review the PHP versions used by their applications and hosting environments; upgrading the runtime may require coordination with application dependencies.

Further public disclosures may clarify the technical differences between CVE-2026-109618 and CVE-2026-109619, affected configurations and any evidence of exploitation. Until those details are available, the confirmed development is the release of PHP fixes and the researchers’ account of how historical code knowledge and AI-assisted review contributed to finding the flaws.

Amazon

remote code execution vulnerability patch

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

What is PHP2Shell?

PHP2Shell is the name used for two critical remote code execution vulnerabilities, CVE-2026-109618 and CVE-2026-109619, for which PHP shipped fixes on October 21, 2026.

Why did the story take 22 years?

The source account traces the relevant bug class to a 2004 advisory about memory-limit interruptions occurring at unsafe moments. A 2019 out-of-memory bug report and later review helped bring attention back to related cleanup and interruption behavior. The elapsed time does not mean the exact 2026 flaws were continuously known or proven exploitable for 22 years.

Did AI find the vulnerabilities by itself?

No such conclusion is established by the source. Calif’s account describes a researcher choosing the target and directing the review using knowledge of PHP’s vulnerability history, with AI assisting the search. Wiz also reported using AI models and its security platform.

Were the vulnerabilities exploited in attacks?

The source material does not report confirmed real-world exploitation. It describes validation of code execution in test environments and the reporting of the vulnerabilities to PHP, but does not establish that attackers used them against live systems.

What should PHP operators do?

Check PHP’s official advisories for the affected versions and apply the project’s fixes as directed. The source material does not list patched release numbers, so operators should verify coverage against their specific PHP installations and deployment requirements.

Source: ThorstenMeyerAI.com

Nothing in this article is financial or investment advice. Cryptocurrency and precious-metal investments carry significant risk — do your own research and consider a licensed advisor.
FALL

Fall Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

Dreamridiculous Insight: Apple’s Positive Sales Forecast Drives European Share Rise!

Incredible insights reveal how Apple’s sales forecast is boosting European shares, but what long-term effects could this have on the tech market?

Mini PCs Are Powerful Now, but Ports Still Reveal Their Limits

For all their power, mini PCs’ limited ports can restrict connectivity, leaving you wondering how to overcome these constraints—keep reading to find out.

Why Small, Quiet Tech Is Suddenly Winning Over Power Users

For power users seeking seamless integration and understated innovation, discover why small, quiet tech is becoming the preferred choice—and how it can transform your workflow.

The History of the Internet: From ARPANET to Web3

Most fascinating is how the internet evolved from ARPANET to Web3, shaping our digital future in ways you won’t want to miss.