AI Finds Deep Flaws in Code Used by Most Websites
OpenAI's new model helped turn a long-standing bug in PHP into a working attack, forcing a rapid update for millions of sites.
By Isabella Bianchi ·

PHP is the engine behind an estimated 70% of the internet, making its security vital for users across the country. OpenAI announced on Oct. 21 that its AI model, GPT-5.6 Sol, helped uncover two critical security flaws in this language. The discovery prompted a coordinated effort among researchers and developers to fix the issues before they could be widely exploited.
The timeline of this incident reveals a gap in traditional security methods. The PHP Foundation first identified the underlying flaw in 2024. Human developers studied the code for two years but could not figure out how to exploit it or how to fix it. On July 30, 2026, the Foundation asked a cybersecurity firm named Calif to audit the code using OpenAI tools. On Aug. 11, Calif researcher Ryan A. identified an exploitable vulnerability. OpenAI researchers found a related issue the same day. A separate firm, Wiz, independently found another flaw shortly after.
The two vulnerabilities, tracked as CVE-2026-109618 and CVE-2026-109619, involve how PHP manages memory and handles errors. The first occurs when the system runs out of memory, leaving behind incomplete data that it later treats as valid. The second involves a fatal error that leaves the system pointing to memory that has already been freed. Attackers can use these weaknesses remotely to execute malicious code without needing login credentials. They can also expose sensitive data like passwords and API keys stored in server memory.
The PHP Foundation released patched versions 8.2.35, 8.3.36, 8.4.27, and 8.5.12 to address these issues. Older versions, including PHP 8.1, will not receive official fixes. The release was originally planned for Oct. 22, but it was moved up to Oct. 21. This change happened because some details were disclosed prematurely on Oct. 20, which caused public concern. OpenAI states that every site using PHP can now safely upgrade to stay secure.
OpenAI attributes the long two-month fix period to the complexity of the task. Major changes to the PHP engine were required. The company considers this one of the biggest cybersecurity discoveries of 2026. It uses this incident to illustrate its concept of the "Defender's Window." This is the narrow timeframe when organizations can use advanced AI to find and patch flaws before attackers do. OpenAI introduced this idea after its models hacked Hugging Face.
The company argues that powerful technology will inevitably be used by bad actors. Therefore, it is a collective responsibility to act proactively. OpenAI notes that human teams could not resolve the flaws for two years. However, researchers using AI demonstrated practical exploits within two weeks. Some might argue the flaws were harmless without AI, but OpenAI disagrees. It points out that Anthropic's Claude Mythos recently found thousands of zero-day vulnerabilities in major operating systems and browsers.
For readers in New York and New Jersey, this means many local businesses and services likely run on PHP. If you manage a website or use a platform built on this language, updating to the latest patched version is recommended. The core engine of PHP is affected, so even sites with clean application code are at risk. Both vulnerabilities received a critical severity score of 9.2 out of 10. The rapid response highlights how quickly AI tools can change the landscape of digital security.
The next step for the industry is monitoring how quickly these patches are adopted. OpenAI and its partners will continue to watch for signs of exploitation. The incident serves as a reminder that security is a moving target. As AI models become more capable, the window for defenders to act becomes smaller. Organizations must stay ahead of these tools to keep their systems safe from remote attacks.






