70 Percent of the Web at Risk: PHP Patches Address Flaws Eluding Humans for Two Years
OpenAI claims its AI model uncovered critical memory bugs in PHP that allowed remote exploitation, leading to an urgent patch release for the language powering most of the internet.
By Tariq James ·

OpenAI announced on Oct. 21 that its GPT-5.6 Sol model played a pivotal role in identifying critical security vulnerabilities in PHP, the open-source language that underpins an estimated 70% of the internet. The company stated that researchers under its 'Patch the Planet' initiative discovered these flaws, which had previously stumped human developers for two years. Following the discovery, a coalition of researchers, PHP maintainers, security providers, and government agencies worked for two months to implement fixes, a timeline OpenAI attributed to the significant complexity of the required changes to the PHP engine.
The path to this announcement began with a known but unresolved issue. The PHP Foundation had been aware of the underlying flaw since 2024 but lacked both an exploitation method and a viable fix. The situation changed on July 30, 2026, when Calif, a California-based cybersecurity firm and founding partner of the Patch the Planet program, began auditing PHP using OpenAI tools at the Foundation's request. On Aug. 11, Calif researcher Ryan A. identified an exploitable vulnerability, a finding that OpenAI researchers independently confirmed on the same day. Shortly after, another cybersecurity firm, Wiz, identified an additional related vulnerability.
The two vulnerabilities, tracked as CVE-2026-109618 and CVE-2026-109619, involve fundamental errors in how PHP manages computer memory and handles errors. The first 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 that leaves PHP pointing to memory that has already been freed, allowing subsequent requests to access or corrupt that space. Both flaws received a critical severity score of 9.2 out of 10.
The practical implications of these bugs are significant. Attackers can exploit these weaknesses remotely without login credentials to execute malicious code on affected servers, potentially seizing control of websites. AI-assisted researchers also demonstrated that the flaws could expose sensitive information stored in server memory, such as passwords, authentication tokens, and API keys. Crucially, because these vulnerabilities reside in PHP's core engine, websites are affected even if their specific application code is secure.
To address the issue, the PHP Foundation released patched versions 8.2.35, 8.3.36, 8.4.27, and 8.5.12. Older versions, including PHP 8.1, will not receive official fixes. The coordinated release was originally scheduled for Oct. 22 but was moved up to Oct. 21 following premature disclosures on Oct. 20 that sparked public outcry. OpenAI advises that any site using PHP should upgrade to the latest versions to maintain security.
OpenAI positions this incident as a prime example of its 'Defender's Window' concept. Introduced after its models hacked Hugging Face, the concept describes a narrow timeframe where organizations can use advanced AI to find and patch defenses before attackers do. The company argues that because powerful technology will inevitably be used by bad actors, there is a collective responsibility to act proactively. This stance counters the argument that such flaws are effectively harmless if they are only exploitable with the aid of AI.
The company highlights this discovery as one of the most significant cybersecurity events of 2026, given the ubiquity of PHP. While human teams struggled to resolve the code for two years, AI-wielding researchers developed working exploits within two weeks. OpenAI points to recent reports from Anthropic, whose Claude Mythos model identified thousands of zero-day vulnerabilities in major operating systems and browsers, as further evidence that this race between defense and offense is accelerating.
The next step for the web ecosystem is widespread adoption of the new patches. While the immediate threat is mitigated for those who update, the incident raises broader questions about the role of AI in both creating and resolving digital vulnerabilities. For the 70% of the internet running PHP, the urgency to upgrade is clear, as the window for safe operation may be closing.






