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

🔍 Read the full analysis: PHP2Shell’s Long Backstory: How AI-Assisted Review Played A Part on ThorstenMeyerAI.com

Age 18–24?Offer from Amazon

Prime made for students and young adults

  • Fast, free delivery for dorm and study essentials
  • Prime Video and Amazon Music included
  • Member-only deals
Try Prime for Young Adults Free trial for eligible 18–24 year olds
As an affiliate, we earn on qualifying purchases.

TL;DR

PHP released fixes on Oct. 21, 2026, for two critical remote-code-execution vulnerabilities known as PHP2Shell. Calif and Wiz Research found related flaws in separate investigations, with AI tools supporting parts of the work; the longer history includes a 2004 warning and a 2019 out-of-memory bug. The available account does not establish that the older issues were the same vulnerabilities or explain every technical detail of the fixes.

PHP shipped fixes on October 21, 2026, for two critical remote-code-execution vulnerabilities, CVE-2026-109618 and CVE-2026-109619, now referred to as PHP2Shell. Research accounts credit Calif and Wiz Research with finding related flaws in separate investigations, with AI tools assisting parts of the work. The reports connect the discoveries to a longer history of PHP memory-management concerns, but do not establish that the earlier bugs were identical to the new vulnerabilities.

Calif’s account traces its investigation to a question raised by an older PHP bug: what else might be left in an unsafe state when a request runs out of memory? The research draws a line from a 2004 security advisory about PHP’s memory limit interrupting execution at unsafe points, through a 2019 bug-tracker report on temporary files left behind after an out-of-memory error. Those are historical precedents, not proof that the 2026 vulnerabilities were the same flaw.

According to Calif’s timeline, researcher Ryan Austin reported a first issue to PHP on August 11, 2026, provided a proof of concept on August 14, and received confirmation from PHP on August 15. Calif reported a second bug on August 21. Wiz Research says it found its first PHP vulnerability on August 19, tested unauthenticated code execution against Drupal and WordPress, and reported it to PHP on August 24. The accounts describe separate, parallel research; the supplied material does not fully map each report to a CVE.

AI played a supporting role in both efforts, according to the research organizations. Calif says its investigation used generally available models and no special harness; OpenAI said GPT-5.6 Sol was used in the work. Wiz says its platform was used with Gemini 4 Argon and GPT-5.6 Sol. PHP’s security team issued the fixes. The account names the researchers and organizations but does not provide a complete technical description of the patched code.

At a glance
reportWhen: PHP fixes shipped October 21, 2026; res…
The developmentPHP shipped fixes for CVE-2026-109618 and CVE-2026-109619 after Calif and Wiz Research independently reported critical remote-code-execution flaws.
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 Reached Beyond PHP

The fixes matter because PHP is widely used to run websites and web applications, and remote code execution can allow an attacker to run code on a vulnerable server. The supplied source does not quantify exposure or establish how many systems remain unpatched, so the scale of immediate risk cannot be determined from these accounts alone. Operators should rely on PHP’s security notices and their software vendors for affected versions and patch guidance.

The research also offers a more specific account of AI-assisted security work than the claim that models independently discover vulnerabilities. In Calif’s description, a researcher’s knowledge of PHP’s history shaped the search, while models helped examine a target and develop the investigation. Austin cautioned that no model can find all bugs. The distinction matters to security teams deciding how to use AI: the reports describe tools used within a human-led review, not a replacement for expert judgment or a guarantee of coverage.

The longer chronology also shows why old findings can matter without proving that a new vulnerability was predictable. A weakness may be fixed in one form while the broader class of unsafe interruption remains difficult to address. But the historical connection is an investigative interpretation, not evidence that the 2004 advisory or 2019 bug directly caused PHP2Shell.

Bose QuietComfort Wireless Bluetooth Noise-Cancelling Headphones, Sandstone

Bose QuietComfort Wireless Bluetooth Noise-Cancelling Headphones, Sandstone

As an affiliate, we earn on qualifying purchases.

From the 2004 Warning to 2026

In July 2004, security researcher Stefan Esser published an advisory describing how a remote attacker could trigger PHP’s memory-limit termination at a point where interruption was unsafe. The advisory said this could be abused to run code on remote PHP servers. PHP fixed the specific paths reported at the time. Calif’s retelling presents the case as an early warning about the broader risk of stopping execution while internal state is only partly prepared.

PHP bug tracker report #78876, filed in November 2019, described large multipart form fields causing an out-of-memory error and temporary files not being cleaned up. PHP fixed the issue in May 2020, and it was assigned CVE-2019-11048. The reported impact was denial of service from files accumulating on disk. Calif says the incident prompted further questions about what out-of-memory failures could leave behind.

A 2024 PHP audit by Quarkslab, with OSTIF and the PHP Foundation, reported 27 findings and four CVEs, all resolved, according to the source. Calif says auditors encountered the same out-of-memory issue but did not prove exploitation. OSTIF’s summary, as described in the account, does not mention that issue. That discrepancy should be kept distinct from the documented audit findings.

What the Reports Do Not Resolve

The supplied material does not give the full technical mechanics of either PHP2Shell vulnerability, identify all affected PHP versions, or state how many internet-facing systems remain exposed. It also does not provide a complete one-to-one account of which researcher’s report corresponds to each CVE. Readers should not infer from the shared PHP2Shell label that every reported finding was the same bug.

The historical relationship remains partly interpretive. Calif connects its work to the 2004 advisory, the 2019 out-of-memory issue and an account of a rediscovered audit finding. But the material does not show that those earlier issues were directly exploitable through the 2026 vulnerabilities. The audit detail is also not independently corroborated here: Calif says the issue was rediscovered, while the cited OSTIF summary does not mention it.

The accounts describe AI tools as part of research, but do not isolate how much each model contributed or provide a controlled comparison with a review conducted without AI. Claims about the tools’ contribution are attributed to the organizations involved; they are not an independent measurement of AI’s effectiveness.

Patch Status and Disclosure Details

PHP has shipped fixes, making the next practical step for administrators to check the project’s security advisories and apply the release that covers their installation. Organizations running PHP through content-management systems or hosting platforms should also check vendor guidance, since the source material does not list affected versions or deployment-specific instructions.

Further technical detail may come from PHP’s advisories and fuller disclosures from Calif and Wiz. Those materials would help clarify the affected code paths, how the two CVEs relate to the separate research reports, and what systems require updates. Until then, the confirmed development is that PHP issued fixes; the reach of the exposure and the precise connection to earlier bugs remain unsettled in the information available here.

Key Questions

What is PHP2Shell?

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

Did AI discover the vulnerabilities on its own?

No such conclusion is supported by the accounts. Calif describes a researcher-led investigation using AI tools, and Wiz reports using its platform alongside Gemini 4 Argon and GPT-5.6 Sol. The source does not measure each tool’s contribution independently.

Were the 2004 and 2019 issues the same as PHP2Shell?

The available material does not establish that. The older advisory and bug report are presented as historical clues about unsafe interruptions and out-of-memory behavior, not as the same vulnerabilities as the 2026 flaws.

What should PHP operators do?

Check PHP’s security advisories and apply the relevant fix. The source material does not specify affected versions, so administrators should confirm the applicable release with PHP and their hosting or software vendors.

Source: ThorstenMeyerAI.com

You May Also Like

The AI Automation Developer’s Tool Selection Checklist For 2026

A practical checklist covers six AI development tool categories, while warning that two named books are learning resources, not software.

AI-Enhanced NAS: The 10 Best Models Of 2026

Discover the 10 best AI-enhanced network attached storage models of 2026, highlighting performance, features, and suitability for various users.

Port React Compiler to Rust

React’s compiler support for match syntax has been ported from JavaScript to Rust, enhancing performance and reliability, confirmed by recent commits.

Windows 11 users are tired of MS account requirements creeping into everything

Many Windows 11 users are upset about Microsoft’s continued requirement for a Microsoft account during setup, limiting local account options.