Newsroom Wire

US10-22 03:13⏱ 4 min read

PHP Patches Two Critical RCE Flaws Found with Frontier AI Models

PHP Patches Two Critical RCE Flaws Found

The PHP project released PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35 on October 21, 2026, security releases that fix two critical vulnerabilities that can allow unauthenticated remote code execution and that were discovered with frontier AI models. The coordinated disclosure spanned the PHP project, OpenAI, security research firm Calif, and cloud security company Wiz.

The PHP project’s security advisory states that the four releases fix CVE-2026-109618, described as remote code execution via out-of-memory corruption, and CVE-2026-109619, described as remote code execution via stale global state. An advance notice from the PHP security team on October 20, 2026 rated both vulnerabilities CVSS v4.0 9.2 and scheduled the release for 14:00 UTC on October 21.

All PHP installations serving web requests are at risk, the advisory states, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed. The risk is considered highest for mod_php, where a demonstrated exploit can be triggered by an unauthenticated request before any application code runs.

The project states there are no complete mitigations and that updating is the only safe choice, though it lists interim settings that reduce exposure to specific attack paths.Linux distributions and LTS vendors received the patches in advance.

The PHP security team also provided minimal source backports for PHP 7.4, 8.0, and 8.1, which no longer receive updates, and noted that PHP 8.2 reaches end of life on December 31, 2026.

Wiz Research’s technical disclosure describes CVE-2026-109618 as covering an upload-progress unserializer use-after-free and a remote process-memory disclosure, and CVE-2026-109619 as covering a fatal-error backtrace use-after-free and an OPcache type confusion. All are memory-safety issues that stem from how PHP handles fatal errors, particularly out-of-memory errors, while processing requests.

Wiz said every PHP version released in the last decade is affected by at least one of the vulnerabilities, going back to version 5.4. Calif reported that the earliest affected path it found dates to PHP 5.4.0 and that exploitation paths, which depend on the PHP version and SAPI, are always exploitable under default configurations.

Wiz combined the vulnerabilities into a single exploit script named php2shell and demonstrated unauthenticated remote code execution against the latest container images of WordPress, Drupal, and Joomla.

Separately, it demonstrated application-agnostic disclosure of PHP worker memory that can contain passwords, authentication tokens, API keys, and certificates.Calif’s write-up reports confirmed pre-authentication remote code execution on WordPress 7.1.2, Drupal 11.4.3, Joomla 6.1.4, MediaWiki 1.46.2, Roundcube 1.7.4, Magento 2.4.9, phpMyAdmin 5.2.3, Nextcloud 35.0.1, Laravel 13.11, Symfony 8.1, and WHMCS, and on arbitrary PHP scripts in some instances.

Wiz describes PHP as powering 70% of all websites, including WordPress, Joomla, Drupal, and Wikipedia’s MediaWiki, and ranks the findings among the most severe vulnerabilities discovered in PHP.

OpenAI said that over the past two months it led a coalition of maintainers, researchers, and security providers to address the vulnerabilities, with Calif identifying a critical flaw using its GPT-5.6 Sol model as part of OpenAI’s Patch the Planet initiative and Wiz independently discovering and reporting both vulnerabilities. PHP’s maintainers led the fixes and release.

The participants’ timelines show overlapping independent discoveries.The PHP Foundation records that Calif began its audit on July 30, 2026 and that Calif researcher Ryan A reported an unconditional remote code execution on August 11, 2026, with OpenAI independently reporting the same root cause the same day.

Calif’s account dates its discovery to August 1, 2026, an RCE proof of concept shared with PHP on August 14, 2026, PHP’s confirmation on August 15, 2026, and a second bug reported on August 21, 2026.

Wiz reports discovering the first vulnerability on August 19, 2026 using Wiz Atlas, Gemini 4 Argon, and GPT-5.6 Sol, confirming unauthenticated code execution against Drupal on August 20, 2026 and WordPress on August 21, and reporting the vulnerabilities to the PHP security team on August 24, 2026.

OpenAI added further attack vectors on September 18, 2026, according to the Foundation, and PHP acknowledged the reports and began developing a coordinated fix on September 21, 2026, according to Wiz.

The underlying weakness has a long history.Calif recounts that Stefan Esser found the first PHP memory-limit remote vulnerability in 2004, that a bug describing an out-of-memory condition was reported to the project in 2020, and that a 2024 audit by OSTIF and Quarkslab rediscovered the issue without proving exploitation.

The PHP Foundation wrote that the 2024 audit was funded by the Sovereign Tech Agency and that work on a fix stalled and restarted repeatedly over months: “We won’t pretend otherwise: the delay was a stru

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…