OTHER

PHPocalypse: The Two Critical Vulnerabilities That Almost Crippled the Internet

On Wednesday, the long-established open-source web technology PHP came close to causing substantial disruptions across the internet after researchers uncovered two long-dormant vulnerabilities that they found ways to exploit.

These vulnerabilities, known as PHP2Shell, have been officially classified as CVE-2026-109618 and CVE-2026-109619. To put it simply, these flaws allow any individual who can exploit them to access online systems utilizing PHP, such as websites or publicly available servers, without needing a password to view or modify their information.

This event prompted a worldwide scramble, with millions rushing to secure their systems before cybercriminals could take advantage of these vulnerabilities.

The PHP Foundation, responsible for the maintenance of PHP software, released updates on Wednesday that fixed the issues, providing essential protection for web-facing servers against potential attacks. Prior to this, they had given major internet companies and web hosts using PHP advance notice to apply the necessary patches.

Through weeks of proactive discussions and collaboration within the industry, the global community largely managed to prevent widespread internet exploitation for now. In light of Wednesday’s developments, governments recommended that citizens and businesses with websites act swiftly to reduce risks. A diverse range of sectors temporarily disabled their services and took their websites offline to carry out essential updates, including banks, retailers, gaming platforms, online market places, hospitals, and some government entities.

However, security experts warn that the threat remains unabated, as numerous unpatched systems worldwide are still exposed to potential hacking and data breaches.

Moreover, experts suggest that this may not be the last major alert regarding internet software, with the rise of AI possibly revealing unrecognized vulnerabilities ready for exploitation.

What happened?

Researchers from Calif discovered two vulnerabilities in PHP, a widely used programming language for creating websites and web applications that can operate both online and on local company networks, including intranets and internal sites.

Given that PHP is an open-source language, it remains free and available for virtually any use, contributing to its status as one of the most common web programming languages today.

Though the two bugs were first identified in 2024, they were not deemed easily exploitable at that time and were thus left unpatched. Recent findings by security researchers highlighted a way to exploit these flaws, leading them to inform the software developers for resolution.

Calif reached out to the PHP Foundation, which set about fixing the vulnerabilities and managing the disclosure process. This included supplying details and patches regarding the security issues under strict embargo—the confidential period until a specific deadline—allowing major corporations to prepare to implement the fixes beforehand.

Why are the bugs so serious?

The PHP2Shell vulnerabilities are particularly critical because they can be exploited remotely through the internet without any interaction from the victim, a method known as remote code execution. Such vulnerabilities can be especially harmful as they grant a hacker complete control over an affected and unpatched system from anywhere globally.

Additionally, these specific flaws allow unauthorized access to any unpatched system on the internet without necessitating a password or other credentials.

This could allow a malicious actor to install malware on the system, potentially to acquire sensitive data or maintain ongoing access for future exploitation.

Why was 70% of the web affected?

The vulnerabilities represent a significant risk primarily due to the extensive adoption of PHP, which remains popular because it is free and relatively easy to use, coupled with its long history in web development. Approximately 70% of internet-facing services rely on PHP, although its usage has slowly decreased in favor of newer, more secure programming languages.

Given its ubiquity, many of the internet’s most visited websites are built on platforms that utilize PHP, including WordPress (which hosts TechCrunch!), as well as Drupal, Joomla, and MediaWiki, which powers the famous online encyclopedia, Wikipedia.

PHP has persisted through various phases and generations of the internet and remains a fundamental component of a vast segment of the web. Many of these tools are maintained by unpaid open-source contributors, making it difficult to finance third-party security evaluations, even as companies heavily depend on them without financially supporting their development.

%items The Smartschool educational platform is offline due to two critical vulnerabilities in the PHP programming language on Wednesday, 21 October 2026, in Edegem. BELGA PHOTO DIRK WAEM (Photo by DIRK WAEM / BELGA MAG / Belga / AFP via Getty Images)Image Credits:DIRK WAEM / BELGA MAG / Belga / AFP / Getty Images

Was AI used to discover the bugs?

Security researchers at Calif were recognized for uncovering the vulnerabilities earlier this year during an in-depth security audit of PHP’s code. This was part of Calif’s involvement in the Hack the Planet initiative, spearheaded by AI model developer OpenAI along with cloud security leader Wiz, which confirmed the proof-of-concept exploits reported by Calif.

In Calif’s extensive report (which includes some comedic illustrations worth seeing), the researchers noted that while AI played a role in exploiting the vulnerabilities, the majority of the insights derived from their foundational knowledge of PHP’s codebase and its past exploits.

“No model can just discover ‘all bugs’ with simple prompts. At least not at this time,” stated Calif.

Why were the bugs exploited ahead of disclosure?

Despite efforts to keep the details of the vulnerabilities under wraps until Wednesday, it seems that there were attempts to exploit PHP2Shell prior to the patches becoming available.

Amazon, with its vast knowledge of online threats, reported in a blog post that it detected efforts to exploit PHP2Shell around a week before the PHP patches were issued, hinting that at least one party might have understood how to exploit the vulnerabilities before their public release. Amazon indicated it was unsure how the hacker obtained knowledge of the weaknesses, suggesting that defenses should begin searching for signs of exploits as early as October 17.

Several theories surround this issue. Once a bug is patched, the particulars regarding the patch often become clear, particularly in the case of open-source software like PHP, which allows for public examination. Although exploiting the vulnerabilities could be difficult, knowing their locations and the nature of the fix equips malicious hackers to focus their attacks more effectively.

It’s possible that information was leaked or that there was a breakdown in communication during the embargo period. With the open-source community being vast, managing information in this way heavily relies on trust and goodwill.

Hackers may also have independently uncovered the vulnerabilities earlier, either through personal research or espionage.

The PHP Foundation suggested that one company might have prematurely released the patches hours before the embargo concluded, potentially giving some attackers an opportunity to access details before the official release. However, this does not explain the activities detected by Amazon a week in advance.

Researchers indicate that vulnerabilities typically require significant effort to be easily exploitable, and weaponizing them can be challenging — though not impossible. This is why mass exploitation has not yet been widely seen.

As of late Friday, confirmed compromises and malicious activities linked to the PHP bug have been reported by security firms such as Palo Alto Networks and Trail of Bits, showing that the bug has indeed been utilized to compromise systems at undisclosed targets.

Large parts of the internet shut down, but are returning. Did we dodge the worst of it?

It’s too soon to make definite assertions, but the lack of noticeable mass exploitation is an encouraging sign — albeit we remain in a delicate situation.

Matthew Prince, CEO of the network security and monitoring firm Cloudflare, which observes a substantial portion of the internet, reported this week a dramatic increase in attempts to exploit these vulnerabilities since their public announcement. This underscores the urgency with which malicious actors are targeting these flaws for personal gain.

PHP’s application extends beyond web servers; it also contributes to developer tools, command line interfaces, terminal packages, and various application components utilized in routers, storage devices, and security equipment like firewalls and VPNs.

Exploitation of PHP2Shell may persist as smaller IT departments or independent developers may lag in applying updates. In addition, many organizations relying on PHP for their products and integrated software will require time to execute updates properly.

As additional devices and systems undergo the required updates, the potential attack surface will gradually diminish. Nonetheless, the residual effects of these vulnerabilities could linger for years, especially in legacy systems that cannot be upgraded.

Will this happen again?

This situation marks one of those rare yet disconcerting days in the technological realm I’ve seen during my tenure as a security journalist. In 2016, a massive botnet overwhelmed the Dyn internet registry with excessive traffic, causing significant disruptions for major web services. In 2017, North Korea leveraged leaked U.S. government hacking tools to carry out ransomware attacks on the U.K.’s health services. In 2024, a problematic update from CrowdStrike led to a widespread global outage that caused numerous Windows machines to crash simultaneously.

Reflecting on PHP2Shell, the internet has sidestepped what could have resulted in a catastrophic and distressing scenario. However, this is unlikely to be the last major incident to impact the web, and we may witness an increase in similar events that exploit vulnerabilities in outdated technologies. This growing trend could be attributed to the inherent weaknesses of legacy systems remaining unnoticed, paired with AI tools capable of revealing such flaws.

PHP, like many other programming languages and technologies from previous decades, features attributes that render them “memory unsafe,” creating a distinct class of vulnerabilities through which hackers can extract sensitive information from a system’s memory. The National Security Agency notes that around 75% of exploited vulnerabilities originate from memory-related issues, showcasing their frequent utilization by hackers.

This situation has incited a move toward memory-safe programming languages, such as Python, Rust, and Swift, which are less vulnerable to the same types of exploits, offering better immunity against a wide range of vulnerabilities still troubling their predecessors.

Despite this, a significant portion of the internet continues to depend on older technologies, including PHP, media codecs, compression libraries, and other software from previous eras — which, when they fail, could lead to monumental consequences for the entire web.

When you purchase through links in our articles, we may earn a small commission. This doesn’t affect our editorial independence.