PHP2Shell And AI: Revisiting A Security Story 22 Years In The Making
AIThis post was created with the assistance of artificial intelligence (AI).

🔍 Read the full analysis: PHP2Shell And AI: Revisiting A Security Story 22 Years In The Making on ThorstenMeyerAI.com

Before you orderOffer from Amazon

Get the little things that make your day 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 flaws known as PHP2Shell. Calif and Wiz independently found vulnerabilities in the PHP runtime, with AI tools assisting parts of the research; the work also revived a security concern documented in 2004.

PHP released fixes on October 21, 2026, for two critical remote code execution flaws, CVE-2026-109618 and CVE-2026-109619, known as PHP2Shell. Researchers at Calif and Wiz found vulnerabilities in the runtime, with AI tools assisting parts of their work; the findings also revived a concern about unsafe out-of-memory interruptions first raised in a 2004 PHP advisory.

According to the account published by Thorsten Meyer, Calif found several independent paths to remote code execution on August 1. It reported one vulnerability to PHP on August 11, provided a working proof of concept on August 14, and received confirmation from PHP the next day. Calif reported a second flaw on August 21. The source identifies Calif, OpenAI and Wiz as receiving research credit, and says the fixes were made by the PHP security team.

Wiz Research worked separately. Its disclosure says it found its first PHP vulnerability on August 19 using its Wiz Atlas platform alongside Gemini 4 Argon and GPT-5.6 Sol. Wiz said it confirmed unauthenticated code execution against Drupal on August 20 and WordPress on August 21, then reported the issue to PHP on August 24. The source describes the two teams as reaching the same class of flaw within weeks, not as collaborating on a single discovery.

The underlying problem involved what could happen when PHP ran out of memory at an unsafe point while handling a request. Calif’s research connected the 2026 flaws to a broader class of interruptions that can leave program structures incompletely set up before cleanup runs. The supplied account does not provide technical exploit details or spell out which specific internal paths distinguish the two CVEs.

At a glance
reportWhen: Fixes released October 21, 2026; resear…
The developmentPHP shipped fixes for two critical remote code execution vulnerabilities, CVE-2026-109618 and CVE-2026-109619, after 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 PHP Runtime Fixes Matter

PHP powers a large share of websites, and the reported flaws allowed remote code execution, a class of vulnerability that can let an attacker run code on a vulnerable server. The source says Wiz demonstrated unauthenticated code execution against Drupal and WordPress in testing. That makes the patch relevant beyond PHP specialists: website operators and hosting providers should establish whether their deployed PHP versions include the fixes and apply them.

The discovery also offers a measured example of AI-assisted security research. AI systems contributed to work by both teams, but the account does not establish that a model independently identified or resolved the vulnerabilities. Calif researcher Ryan Austin chose a familiar target and used knowledge of PHP’s vulnerability history to guide the search. The result points to a role for AI as a research aid alongside human direction, rather than evidence that models can find every flaw on their own.

Amazon

PHP security vulnerability scanner

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

From 2004 Advisory to 2026 Fixes

In July 2004, security researcher Stefan Esser published Bugtraq Advisory 11/2004, titled “PHP memory_limit remote vulnerability.” The advisory warned that a remote attacker could trigger memory-limit termination where interrupting execution was unsafe, potentially allowing code execution on PHP servers. PHP fixed the specific paths Esser reported, but the wider challenge of interruption at an unsafe moment remained relevant to later research.

A 2019 PHP bug report described large multipart form fields causing an out-of-memory failure and leaving temporary files behind. PHP fixed that issue in May 2020, and it received CVE-2019-11048 as a denial-of-service vulnerability. Calif later treated the leftover files as a clue about what other state might persist after an out-of-memory event. Separately, Calif says a 2024 audit rediscovered the issue, though exploitation was not proven. The audit summary cited in Meyer’s account does not mention an out-of-memory finding, so that part of the history remains attributable to Calif.

In summer 2026, OpenAI invited Calif to take part in Patch the Planet, an initiative to help open-source maintainers improve security. Calif’s write-up says Austin used generally available models and no special harness. The account names GPT-5.6 Sol in Calif’s work and describes Wiz using its own platform with Gemini 4 Argon and GPT-5.6 Sol.

Amazon

remote code execution 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 supplied account does not include the PHP security team’s technical advisories, affected version ranges, patched release numbers, or deployment instructions. It also does not detail the exploit mechanics for either CVE. Operators should consult PHP’s official advisories to determine which versions require an update rather than infer that information from the research timeline.

The extent to which AI tools contributed to each specific discovery step is not fully documented here. Calif’s description says its researcher directed the work, while Wiz and Google credit Gemini 4 Argon with several research and validation tasks. The source also reports Calif’s account of a 2024 rediscovery, but says exploitation was not proven; the audit summary it references does not confirm that detail. Neither an unproven exploit nor an absent mention in that summary resolves what the auditors observed.

Amazon

web application security testing kit

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Apply Patches and Check Advisories

The immediate next step for PHP operators is to check the official PHP security advisories, identify whether their deployed releases are affected, and install the applicable fixes. Website owners relying on Drupal, WordPress or other PHP applications should confirm which PHP runtime their hosting environment uses; updating an application alone may not update PHP itself.

Further detail depends on technical advisories from PHP and any follow-up disclosures from the researchers. Those materials can clarify affected versions, the fixes’ scope and practical guidance for administrators. Until then, the confirmed development is that PHP shipped fixes for both named vulnerabilities on October 21, 2026; the full technical record and distribution of affected deployments are not established in the supplied source.

Amazon

PHP memory management debugging tools

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 PHP remote code execution vulnerabilities, CVE-2026-109618 and CVE-2026-109619. PHP released fixes on October 21, 2026.

Who found the vulnerabilities?

The source credits researchers at Calif and Wiz. Their research took place independently, and each team reported findings to PHP in August 2026.

How did AI tools figure in the research?

Calif’s work used GPT-5.6 Sol, according to the source, while Wiz described using its Wiz Atlas platform with Gemini 4 Argon and GPT-5.6 Sol. The account presents the tools as part of researcher-led work, not as proof that AI can find every vulnerability.

What should PHP operators do?

Check PHP’s official security advisories for the affected versions and install the applicable fixes. The supplied source does not list patched release numbers, so operators should not guess which versions are safe.

Source: ThorstenMeyerAI.com

NFL SEASON / TAI

NFL season / tailgating Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

How AI Camera Lenses Are Enhancing Versatility In 2026

In 2026, advancements in AI-driven camera lenses are expanding their adaptability and performance for photographers and videographers.

The Key To Advanced Frontier AI: Mixture-of-Experts Architecture

Exploring how Mixture-of-Experts architecture enables large-scale AI models to grow efficiently in capacity and speed, transforming AI development in 2026.

Signal: Four Frontier-Class Open Models in Eight Weeks — China’s Release Cadence Is the Story

Chinese AI labs released four frontier-class open models from April to June 2026, signaling a rapid production line and shifting global AI dynamics.

AI Trading Bot — Week Two: The candidate edge collapsed

The promising BTC fair-value strategy from week one has now collapsed, leaving the entire fleet in significant loss. The main candidate is wiped out.