OpenAI Credits AI Model for Solving Two-Year PHP Security Puzzle
A new announcement reveals how GPT-5.6 Sol helped researchers turn a dormant code flaw into a working exploit, prompting a rapid global patch rollout for the web's most common language.
By Khalid Rahman ·

OpenAI detailed on Wednesday how its latest AI model, GPT-5.6 Sol, played a pivotal role in resolving a long-standing security mystery within PHP, the open-source language that powers an estimated 70% of the internet. The company’s press release, dated October 21, outlines a coordinated effort under its "Patch the Planet" cybersecurity initiative that resulted in the discovery and remediation of critical vulnerabilities. These flaws, which had eluded human developers for two years, were transformed into practical exploits by AI-assisted researchers in just two weeks.
The core of the narrative centers on the concept of the "Defender's Window," a term OpenAI introduced after its models previously identified weaknesses in Hugging Face. The company describes this as a narrow, critical timeframe where organizations can leverage advanced frontier AI to strengthen their defenses before the same capabilities become widely available to malicious actors. By highlighting this incident as one of the most significant cybersecurity discoveries of 2026, OpenAI argues that proactive action is a collective responsibility, especially as powerful technology inevitably finds its way into the hands of bad actors.
The technical journey began on July 30, when researchers from Calif, a California-based cybersecurity firm and the founding partner of the Patch the Planet program, started auditing PHP at the request of the PHP Foundation. The Foundation had been aware of the underlying code issue since 2024 but had struggled to identify either a method for exploitation or a viable fix. The breakthrough arrived on August 11, when Calif researcher Ryan A. identified the exploitable vulnerability, a discovery that OpenAI researchers confirmed the same day.
The situation grew more complex when Wiz, another cybersecurity firm, independently identified a second vulnerability. Both issues are tracked as CVE-2026-109618 and CVE-2026-109619, involving deep-seated flaws in how PHP manages computer memory and handles errors. The first vulnerability occurs when PHP exhausts its allocated memory during a request, potentially leaving incomplete internal data that the engine later misinterprets as valid. The second involves a fatal error leaving PHP pointing to memory that has already been freed, allowing subsequent requests to access or corrupt that space.
According to OpenAI, these weaknesses allow attackers to execute malicious code remotely on affected servers without needing login credentials, potentially leading to full control of websites. The AI-assisted analysis also demonstrated that the flaws could expose sensitive data stored in server memory, such as passwords, authentication tokens, and API keys. Both vulnerabilities received a critical severity score of 9.2 out of 10, underscoring their potential impact on the global web infrastructure.
In response to the findings, the PHP Foundation released patched versions 8.2.35, 8.3.36, 8.4.27, and 8.5.12 to address the issues. Users of PHP 8.1 and older versions will not receive official fixes for these specific flaws. The coordinated release was originally planned for October 22, but it was brought forward to October 21 following premature disclosures on October 20 that triggered public outcry. OpenAI now advises that every site using PHP can safely upgrade its version to maintain security.
The company attributes the two-month timeline required to fix the issues to the sheer complexity of the task, which necessitated major changes to the PHP engine. While human developers and security teams had examined the code without success, allowing the flaws to persist for two years, the AI-wielding researchers demonstrated practical exploitation methods rapidly. This contrast has sparked debate about the nature of these bugs; some argue that without AI, the flaws would have remained effectively harmless, as they might never have been exploitable in a practical sense.
OpenAI counters this view by pointing to recent trends in the industry, such as Anthropic’s Claude Mythos identifying thousands of zero-day vulnerabilities across major operating systems and web browsers. The company maintains that the ability to find these flaws is a double-edged sword, reinforcing the need for the "Defender's Window" approach. By acting now, the ecosystem can secure its foundations before the gap between offensive and defensive AI capabilities closes entirely.
The incident serves as a case study in the evolving landscape of software security, where AI is shifting from a tool for code generation to a primary instrument for vulnerability discovery. As the PHP Foundation continues to support the ecosystem, the successful patching of these core engine flaws provides a blueprint for how collaborative, AI-augmented efforts can address complex technical challenges that have stumped traditional human-led teams for years.
Source: Tom's Hardware


