Security

PHP fixes two critical RCE flaws, one found with GPT-5.6 Sol; update to 8.5.12, 8.4.27, 8.3.36 or 8.2.35

PHP fixed two unauthenticated remote code execution flaws found through OpenAI's Patch the Planet effort and by Wiz; OpenAI shared a version checker for Codex.

Published Updated

Grayscale globe on a stand with one red adhesive bandage
AI-generated image

TL;DR

  • PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix CVE-2026-109618 and CVE-2026-109619, which can allow unauthenticated remote code execution [2].
  • Calif found a critical flaw using GPT-5.6 Sol under OpenAI's Patch the Planet initiative, and Wiz independently reported both flaws [1].
  • OpenAI published a PHP version checker as a Codex skill; it reads advertised versions and cannot confirm backported fixes [1][3].

PHP released fixes on 21 October 2026 for two critical vulnerabilities that can allow unauthenticated remote code execution [2]. The fixed versions are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and the PHP project urges all users to update immediately [2]. On the same day, OpenAI said it had led a coalition of maintainers, researchers and security providers on the response for the past two months [1].

Why it matters

The PHP advisory says all PHP installations serving web requests are at risk, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed [2]. The risk is highest for mod_php, where a demonstrated exploit lets an unauthenticated request trigger the attack before any application code runs [2]. OpenAI calls this one of the most impactful security issues in recent memory [1].

The two flaws

  • CVE-2026-109618: out-of-memory handling can interrupt PHP while internal request data is only partly initialized, and request cleanup may then treat the invalid data as valid [2].
  • CVE-2026-109619: request-owned internal state can survive after its memory has been freed, and a later request on the same worker may use it [2].

Calif found a critical flaw using GPT-5.6 Sol as part of OpenAI’s Patch the Planet initiative, and Wiz independently discovered and reported both vulnerabilities [1]. PHP’s maintainers led the fixes and release [1].

What to do

Update to a fixed release [2]. Linux distributions and LTS vendors received the patches in advance, so check your vendor for updated packages [2]. PHP 8.1 and older no longer get updates from the PHP project, but the security team provided minimal source backports for PHP 7.4, 8.0 and 8.1 [2].

If you cannot update right away, the advisory lists partial mitigations, such as memory_limit=-1 set where apps cannot override it, a low post_max_size, and session.upload_progress.enabled=0 with a restart of every worker [2]. PHP says these reduce exposure to specific attack paths but do not make an installation safe [2].

OpenAI’s version checker

OpenAI shared a PHP version checker as a Codex skill to help operators find potentially vulnerable PHP versions [1]. In URL mode it reads the X-Powered-By and Server headers and returns OK, POTENTIALLY VULNERABLE or UNKNOWN [3]. It flags PHP 5.4 to 5.6, 7.0 to 7.4, 8.0 and 8.1 as potentially vulnerable whatever the patch number, and it cannot tell from headers whether a version includes a backported fix [3].

OpenAI also proposed a five-stage framework for coordinating responses to critical flaws in widely used software and asked the security community for feedback [1].

Sources

Written and checked by AI from the sources below

  1. Patch the Planet: global response coordination as agents uncover critical vulnerabilitiesOpenAI ·
  2. Security advisory: Critical remote code execution vulnerabilities, update nowThe PHP Group ·
  3. PHP Version Checker (php2shell-checker)OpenAI on GitHub

Fact-checked by gpt-6.1-sol on · Editorial policy