🔍 Read the full analysis: The Old Story Behind PHP2Shell And The Use Of AI In Code Review on ThorstenMeyerAI.com
TL;DR
PHP shipped fixes on October 21, 2026, for two critical remote code execution flaws known as PHP2Shell, following research by Calif and Wiz with AI tools involved. The story connects the vulnerabilities to a 2004 warning about unsafe interruptions and a 2019 out-of-memory bug; the precise relationship between the earlier reports and the 2026 flaws is not fully established in the supplied material.
PHP shipped fixes on October 21, 2026, for two critical remote code execution vulnerabilities known as PHP2Shell, after researchers at Calif and Wiz reported related flaws found with help from AI tools. The account published by Thorsten Meyer on October 22 traces the work to a longer security history, including a 2004 warning about PHP requests being interrupted at unsafe moments.
The vulnerabilities are identified as CVE-2026-109618 and CVE-2026-109619. The supplied account says Calif found several independent paths to remote code execution on August 1, reported its first bug to PHP on August 11 and later submitted a second. Wiz Research worked separately: its disclosure says it found a PHP vulnerability on August 19, demonstrated unauthenticated code execution against Drupal the next day and WordPress on August 21, then reported to PHP on August 24.
The account credits Calif, OpenAI and Wiz with the research, and the PHP security team with the fixes. It says Calif used GPT-5.6 Sol as part of OpenAI’s Patch the Planet initiative. Wiz’s disclosure describes using its Wiz Atlas platform with Gemini 4 Argon and GPT-5.6 Sol. Those details establish AI’s role in the research process, but do not show that a model independently identified or verified the flaws.
The story’s historical thread begins with Stefan Esser’s July 2004 advisory, which warned that a remote attacker could trigger PHP’s memory-limit termination where interruption was unsafe. A 2019 bug report later described out-of-memory failures leaving temporary upload files behind; PHP fixed that issue in 2020 as a denial-of-service vulnerability. Calif’s account connects these episodes as clues about unfinished cleanup when a request fails, rather than presenting them as the same vulnerability.
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.
- Jul 2004Stefan Esser: memory_limit can stop PHP “where an interruption is unsafe”Advisory 11/2004, CAN-2004-0594. Remote code execution was possible. (e-matters)
- 28 Nov 2019Bug #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)
- 2024Quarkslab 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)
- 30 Jul 2026Calif joins OpenAI’s Patch the Planet and picks PHPStefan Esser brings in the PHP Foundation through Volker Dusch. (Calif)
- 1–21 Aug 2026Calif 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)
- 19–24 Aug 2026Wiz 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)
- 21 Oct 2026PHP 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 underpins a large share of web applications, and remote code execution can let an attacker run code on a server if the affected conditions are present. The fixes therefore matter to operators of PHP-based services and software built on PHP, including the Drupal and WordPress environments used in Wiz’s validation, according to the supplied account. The material does not specify affected versions, exposure conditions, or whether those tests establish that every deployment was vulnerable.
The research also offers a measured example of AI-assisted security work. Calif’s account says researcher Ryan Austin chose the target and directed the investigation using knowledge of PHP’s vulnerability history. He said the models available to him did not simply discover every bug. That distinction matters: the reported outcome involved people setting the investigative direction, models supporting the search, and maintainers reviewing reports and shipping patches.
Products Worth Considering

Dell XPS 13 13.4-Inch Touchscreen Laptop, Intel Core 5 320, 16GB RAM, 512GB SSD, Windows 11 Pro

HP Sprocket Studio Plus 4×6 Wireless Photo Printer

Logitech MX Brio Ultra HD 4K Webcam
As an affiliate, we earn on qualifying purchases.
From Memory Limits to PHP2Shell
In July 2004, security researcher Stefan Esser published Advisory 11/2004 on the Bugtraq mailing list. It described how exhausting PHP’s memory limit could terminate a request while the runtime was in a state where interruption was unsafe, potentially enabling remote code execution. PHP fixed the specific paths identified then, but the broader problem of handling interruptions safely remained a concern in the account’s retelling.
PHP bug tracker report #78876, filed on November 28, 2019, said oversized multipart form fields could cause an out-of-memory failure and leave temporary files from earlier uploads on disk. PHP fixed the issue in May 2020; it received CVE-2019-11048 and was treated as a denial-of-service problem. Calif says auditors encountered the issue again during a 2024 review, but the supplied account says exploitation was not proven. OSTIF’s published summary does not mention an out-of-memory issue, a difference that leaves the audit detail dependent on Calif’s account.
“possible for a remote attacker to trigger the memory_limit request termination in places where an interruption is unsafe”
— Stefan Esser, in his 2004 security advisory, as quoted in the supplied account
What the Historical Link Establishes
The supplied material does not provide the PHP versions affected, the technical details needed to assess exposure, or the full patch identifiers and upgrade instructions. It also does not establish that the 2004 advisory, the 2019 temporary-file issue and the 2026 PHP2Shell flaws are identical bugs. The account presents them as connected by a broader concern about failures and cleanup in PHP, but the exact technical relationship requires the underlying advisories and research reports.
The 2024 audit account also differs in emphasis: Calif says auditors rediscovered an out-of-memory issue without proving exploitation, while OSTIF’s public summary, as described in the source, does not mention it. The supplied excerpt ends during its account of OpenAI’s announcement about Wiz, so it does not provide the complete disclosure or all details of the coordination and remediation process.
Patch Status and Disclosure Details
PHP has shipped fixes, according to the October 22 account. Administrators should consult the PHP security advisories and their software vendors for affected versions and patch guidance, then verify which PHP releases their systems run. The supplied source points readers to a separate patch-and-restart guide but does not include its technical steps here.
Further clarity depends on the complete advisories and research write-ups: they can establish affected configurations, the relationship between the two CVEs, and how the flaws were confirmed and addressed. The account also leaves open how the 2024 audit finding related to the later research. Until those details are available, the confirmed development is the release of two PHP fixes and the researchers’ reported discovery timeline.
Key Questions
What is PHP2Shell?
PHP2Shell is the name used for two critical remote code execution flaws, CVE-2026-109618 and CVE-2026-109619, for which PHP shipped fixes on October 21, 2026.
Who found the vulnerabilities?
The supplied account credits Calif and Wiz Research with separate research efforts. It says AI tools were used during the work, while researchers directed the investigations and PHP’s security team prepared the fixes.
Did AI discover the flaws on its own?
The material does not support that conclusion. Calif researcher Ryan Austin said a researcher with knowledge of PHP’s history guided the search, and cautioned that no model can find all bugs. The AI tools were described as part of a human-led research process.
How is PHP2Shell connected to the 2004 warning?
The account draws a historical connection through the broader risk of PHP requests failing at unsafe points. It does not establish that the 2004 advisory and the 2026 vulnerabilities are the same bug; technical details in the advisories are needed to determine the precise relationship.
What should PHP operators do now?
Check PHP’s official security advisories and the guidance from relevant software vendors for affected versions and fixes. The source confirms that PHP shipped fixes but does not specify affected versions or provide patch commands.
Source: ThorstenMeyerAI.com
Popular right now

KitchenAid Artisan 5-Quart Tilt-Head Stand Mixer, Almond Cream

KitchenAid Classic Series 4.5-Quart Tilt-Head Stand Mixer, Onyx Black

Dyson Airwrap i.d. 6-in-1 Multi-Styler and Dryer
As an affiliate, we earn on qualifying purchases.