AIThis post was created with the assistance of artificial intelligence (AI).

🔍 Read the full analysis: Revisiting PHP2Shell: The 22-Year Story Behind An AI-Assisted Review on ThorstenMeyerAI.com

Buying for a business?Offer from Amazon

Get business pricing on monitors, keyboards and dev gear

  • Business-only prices and quantity discounts
  • Tax-exempt purchasing
  • Multiple users, one account, clear invoices
As an affiliate, we earn on qualifying purchases.

TL;DR

PHP released fixes on October 21, 2026, for two critical remote code execution vulnerabilities dubbed PHP2Shell. Calif and Wiz independently identified related flaws using AI-assisted research, while the account traces the underlying concern to a 2004 advisory and later PHP bug reports. The source describes the historic connection as a research narrative; it does not establish that the 2004 issue and the 2026 vulnerabilities are identical.

PHP shipped fixes on October 21, 2026, for two critical remote code execution vulnerabilities identified as CVE-2026-109618 and CVE-2026-109619, known together as PHP2Shell. Separate investigations by Calif and Wiz helped uncover the flaws, with researchers using AI tools as part of their reviews; the episode also renews attention to a class of PHP memory-limit problems that researchers had examined as far back as 2004.

The research account by Thorsten Meyer, published October 22, describes Calif and Wiz as working independently and finding the same broad class of vulnerability within weeks. Calif’s timeline says it found several possible paths to remote code execution on August 1, reported its first bug to PHP on August 11, and later submitted a second. Wiz says it found its first vulnerability on August 19 and reported it to PHP on August 24.

According to the account, Calif used generally available models and no special testing harness. OpenAI said Calif found a critical flaw using GPT-5.6 Sol through its Patch the Planet initiative. Wiz’s disclosure says it used its Wiz Atlas platform alongside Gemini 4 Argon and GPT-5.6 Sol. The PHP security team made the fixes; the source does not provide a full technical breakdown of the patches or affected versions.

The historical thread begins with a July 2004 advisory by Stefan Esser, which warned that PHP’s memory limit could terminate a request during an unsafe interruption. A 2019 PHP bug report later documented leftover temporary files after an out-of-memory failure; PHP fixed that issue in 2020 as a denial-of-service vulnerability. Calif’s account says auditors encountered a related out-of-memory issue in 2024, but exploitation was not proven. These episodes provide context, not proof that the older reports were the same defects fixed in 2026.

At a glance
reportWhen: Fixes shipped October 21, 2026; researc…
The developmentPHP patched two critical remote code execution flaws on October 21, 2026, after independent AI-assisted research by Calif and Wiz.
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 PHP2Shell Matters to Web Operators

PHP is used across a large part of the web, so remote code execution flaws in its runtime can matter well beyond a single application. The source says Wiz validated unauthenticated code execution against Drupal and WordPress during its research. That raises the stakes for operators running affected PHP versions, although the supplied material does not specify which versions are vulnerable or provide deployment guidance.

The episode also offers a grounded example of AI-assisted security research. The models were part of a process directed by researchers with knowledge of PHP’s history; the source does not support the claim that AI independently discovered every flaw or can find all bugs. For maintainers, the practical lesson is that older reports and unproven findings can guide later reviews, while fixes and clear version information remain necessary for users to respond.

Amazon

PHP security vulnerability testing tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

From the 2004 Advisory to PHP2Shell

Esser’s 2004 advisory described a risk in how PHP handled a memory-limit interruption: if execution stopped while a structure was being prepared, cleanup could encounter an incomplete state. PHP fixed the specific paths in that report, according to the source. It says the wider problem of interruption at unsafe moments was harder to eliminate.

In November 2019, bug report #78876 described oversized multipart form fields causing an out-of-memory failure and leaving temporary files behind. PHP addressed it in May 2020, and the issue was assigned CVE-2019-11048 as a denial-of-service problem. The source also cites a 2024 PHP audit by Quarkslab with OSTIF and the PHP Foundation, reporting 27 findings and four CVEs. Calif says auditors rediscovered an out-of-memory issue, but the published OSTIF summary does not mention one, and the account says no exploit was demonstrated.

In summer 2026, Calif joined OpenAI’s Patch the Planet effort and focused on PHP. Its researcher Ryan Austin drew on the runtime’s vulnerability history to direct the review. Calif reported findings to PHP in August; Wiz’s separate investigation followed later that month. The fixes were released October 21.

““exploitation was not proven, hence the bug was not fixed.””

— Calif’s account of the 2024 audit

Amazon

AI-assisted code review software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Affected Versions and Technical Scope

The source confirms that PHP released fixes for CVE-2026-109618 and CVE-2026-109619, but it does not list affected or patched PHP versions, the precise technical conditions for exploitation, or whether all supported branches received updates. It also does not establish that the 2004 advisory, the 2019 temporary-file issue, the 2024 audit finding and PHP2Shell share one underlying defect.

The supplied account gives partial disclosure timelines, but not the full advisories, patch details or a complete reconciliation of Calif’s and Wiz’s contributions to each CVE. Claims about model contributions are attributed to the organizations involved. Those claims do not show that AI tools acted independently of the researchers or that the same methods would find other vulnerabilities.

Amazon

web application security scanner

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Patch Status and Disclosure Details

PHP operators should consult the PHP team’s security notices for the affected versions and corresponding fixed releases, then assess their own deployments. The source points readers toward a separate patch and restart guide but does not reproduce its instructions or state how widely the fixes have been applied.

Further PHP advisories and disclosures from Calif and Wiz may clarify the technical causes, affected branches, and how the separate research efforts map to the two CVEs. Until those details are available in the materials provided, the confirmed development is the October 21 release of fixes—not a complete account of exposure across PHP installations.

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.

Who found the vulnerabilities?

Calif and Wiz conducted separate investigations and reported PHP vulnerabilities in August 2026. The source describes both teams as using AI tools during their research, alongside researcher-led analysis.

Did AI find the flaws on its own?

The source does not support that conclusion. It describes researchers choosing the target and directing the review, with models assisting parts of the work. Ryan Austin said, “No model is simply capable of unearthing ‘all bugs’.”

Are the 2026 flaws the same as the issue reported in 2004?

That is not established by the supplied account. The 2004 advisory and later out-of-memory reports are presented as historical context for a class of concerns, not as proof that all the reports describe identical vulnerabilities.

Which PHP versions need an update?

The source material does not list affected or fixed PHP versions. Operators should check the PHP security team’s official advisories for the version-specific release information before deciding what to update.

Source: ThorstenMeyerAI.com

HALLOWEEN

Halloween Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

My AI News Pipeline Test: The Top Configuration Isn’t In Production

A 71-configuration test found GPT-6 Astra scored highest, but GPT-6 Luna is used in production. Two fallback models were removed after fabricating quotes.

Jev Looks At My Pictures: A Test With 30 Images

A 30-image test of TypeSafe’s Jev models found strong product-photo matching, but results varied across news and essay images.

Tsrs: A Port Of TypeScript To Rust

Cloudflare, VoidZero and Owner.com’s Max Schwenk are developing tsrs, an experimental Rust port of TypeScript aimed at faster, lower-memory checks.

Best Code Review Tools For Developers Compared

Compare CodeRabbit and Graphite on review depth, workflow, integrations, pricing, and team fit to choose the right code review tool.