AdvertiseDonate
Newz Spotlight · 370 Main Street, 11th & 12th Floor, Worcester, MA
Tech · AI

Critical PHP Flaws Patched After AI Tools Expose Two-Year-Old Web Security Gap

The PHP Foundation issued urgent updates on October 21 to address severe memory management errors that could allow remote attackers to hijack a majority of the web.

By Bruno Verma ·

Illustration for: Critical PHP Flaws Patched After AI Tools Expose Two-Year-Old Web Security Gap
Illustration generated for this article, not a news photograph.

The web infrastructure underpinning a large portion of global commerce faces a new layer of scrutiny following the resolution of a long-standing code defect. OpenAI announced on October 21 that its artificial intelligence model, GPT-5.6 Sol, played a pivotal role in identifying critical security vulnerabilities in the PHP programming language.

The discovery is significant because PHP powers an estimated 70 percent of the internet. The flaws, now patched in recent software releases, allow for remote exploitation without the need for user credentials. This means that if a server is not updated, it is vulnerable to attacks that can lead to the execution of malicious code and the potential theft of sensitive data such as authentication tokens and API keys.

The technical details of the breach involve two specific issues in how PHP handles computer memory and error reporting. The first flaw occurs when the system runs out of allocated memory during a request, potentially leaving behind incomplete data that the engine later treats as valid. The second issue arises when a fatal error causes the system to point to memory that has already been freed, allowing subsequent requests to access or corrupt that space. Both vulnerabilities have been assigned a critical severity score of 9.2 out of 10.

The PHP Foundation has released patched versions 8.2.35, 8.3.36, 8.4.27, and 8.5.12 to address these problems. Sites running PHP 8.1 or older versions will not receive official fixes and must upgrade to newer branches to secure their systems. The coordinated release was originally planned for October 22 but was moved up a day to October 21 after premature disclosures on October 20 sparked public concern.

The timeline of the discovery highlights a shift in how security audits are conducted. The PHP Foundation had been aware of the underlying flaw since 2024 but could not determine a method for exploitation or a viable fix. Human developers examined the code for two years without success. The situation changed when researchers from Calif, a California-based cybersecurity firm and founding partner in OpenAI's Patch the Planet initiative, began auditing PHP with AI tools on July 30, 2026.

Calif researcher Ryan A. identified the exploitable vulnerability on August 11, 2026. OpenAI researchers independently confirmed the finding that same day. Shortly after, another cybersecurity firm, Wiz, identified an additional related vulnerability. The two issues are tracked as CVE-2026-109618 and CVE-2026-109619. The collaboration between these firms, PHP maintainers, security providers, and government agencies took approximately two months to implement a comprehensive fix due to the complexity of the required changes to the PHP engine.

OpenAI is using this incident to illustrate its concept of the Defender's Window. The company argues that there is a narrow timeframe during which organizations can use advanced frontier AI models to find and patch defenses before those same capabilities become widely available to malicious actors. This view counters the argument that such flaws might never have been exploitable without AI assistance, rendering them effectively harmless in a pre-AI landscape.

The stakes for the broader tech market are high, as this event is being framed as one of the most significant cybersecurity discoveries of 2026. The ubiquity of PHP means that the patching process affects a vast number of websites and applications. OpenAI notes that Anthropic's Claude Mythos model recently identified thousands of zero-day vulnerabilities in major operating systems and browsers, suggesting that this pattern of AI-assisted discovery is becoming a standard part of the security landscape.

For businesses and developers, the immediate action required is to assess their PHP versions and upgrade to the latest patched releases. The incident underscores the growing reliance on AI tools to uncover deep-seated code issues that have eluded human auditors for years. As AI capabilities continue to advance, the speed at which vulnerabilities are found and exploited is expected to increase, making proactive security measures a critical financial and operational priority.

The resolution of these flaws demonstrates the potential for AI to accelerate the security patching cycle. While the initial discovery was made by human-led teams using AI assistance, the process highlights the efficiency gains possible when these tools are applied to complex codebases. The market reaction will likely focus on the resilience of web infrastructure and the readiness of organizations to adapt to this new era of automated security auditing.

More Tech · Report a business · Got a Story?

Get Newz Spotlight in your inboxReporting on the stories people talk about. Free, a few times a week, unsubscribe any time.

Related stories

Get Newz Spotlight in your inboxReporting on the stories people talk about. Free, a few times a week, unsubscribe any time.