Skip to content
Vulnerabilities

Patch PHP 8.2 to 8.5 Now: OpenAI AI Discovers Critical Flaws in Web Engine

OpenAI researchers used AI to find critical PHP flaws affecting 70% of the web; patched versions are available for modern releases, but older ones remain at risk.

Patch PHP 8.2 to 8.5 Now: OpenAI AI Discovers Critical Flaws in Web Engine
Illustration: BlueTeam Herald

Key points

  • OpenAI’s Patch the Planet initiative used GPT-5.6 Sol to uncover two critical PHP vulnerabilities with severity scores of 9.2.
  • The PHP Foundation released emergency patches for versions 8.2 through 8.5 after premature disclosures forced an early release.
  • PHP 8.1 and older versions will not receive official fixes, leaving those environments permanently exposed to the identified flaws.

OpenAI announced on October 21 that researchers under its Patch the Planet initiative discovered critical security flaws in PHP using its GPT-5.6 Sol AI model. The company stated that these vulnerabilities could impact an estimated 70% of websites, given the open-source language’s widespread use. OpenAI coordinated with PHP maintainers, security providers, and government agencies to develop fixes over a two-month period, attributing the timeline to the complexity of required engine changes.

The risk

The vulnerabilities carry severity scores of 9.2, classifying them as critical. According to the press release, researchers demonstrated working exploits for these issues. OpenAI described this event as an example of the "Defender's Window" concept, a narrow timeframe where organizations can use advanced AI to patch defenses before malicious actors leverage similar tools. The PHP Foundation had known about the underlying flaw since 2024 but could not identify an exploitation method or a fix until August 2026.

Who is exposed

Any environment running PHP is potentially exposed. The PHP Foundation released patched versions 8.2.35, 8.3.36, 8.4.27, and 8.5.12 to address the issues. However, PHP 8.1 and older versions will not receive official fixes. Organizations running these legacy versions remain vulnerable. The coordinated release was originally scheduled for October 22 but was moved to October 21 following premature disclosures on October 20, which led to public outcry.

Cost and compliance

OpenAI highlighted the incident as one of the biggest cybersecurity discoveries of 2026 due to PHP’s ubiquity. The company stated that every site using PHP can now safely upgrade its version to stay secure. No specific financial costs or compliance penalties were mentioned in the announcement. The focus remains on the technical necessity of upgrading to patched versions to mitigate the critical risk.

Our take on the response

Teams must prioritize upgrading PHP installations immediately, especially those on versions 8.2 through 8.5. Organizations running PHP 8.1 or older face a significant compliance and security gap since no patches are available for those versions. This underscores the need for regular dependency audits and rapid patching strategies, particularly for widely used open-source components.

What defenders should look for

Security operations teams should monitor web server logs for unusual request patterns that might indicate exploitation attempts. Check for unauthorized code execution or unexpected changes to server-side files. If such activity is detected, isolate affected servers to prevent lateral movement. Review access controls and ensure that only authorized personnel can modify server configurations. Continuous monitoring of application behavior is essential to detect anomalies early.

What to do and how to stay safe

  • Verify current PHP versions across all production and development environments.
  • Upgrade to the latest patched versions (8.2.35, 8.3.36, 8.4.27, 8.5.12) as soon as possible.
  • Plan for migration away from PHP 8.1 and older versions, as they will not receive fixes.
  • Monitor server logs for signs of exploitation attempts and review access controls.

Step-by-step guide: Unpatched Software Response: Containment, Recovery, and Prevention Steps

General security guidance from the BlueTeam Herald newsroom. It is not confirmed advice from the organisations named in this story.

Frequently asked questions

Which PHP versions are affected by these vulnerabilities?

All PHP versions are potentially affected, but patches are only available for 8.2.35, 8.3.36, 8.4.27, and 8.5.12. PHP 8.1 and older versions will not

Sources

  1. Tom's Hardware

Related stories

Patch mem0 Vector Store to Block SQL Injection in Databricks

Unpatched mem0 versions allow attackers to execute arbitrary SQL commands on Databricks warehouses via crafted memory inputs, requiring immediate remediation.