
The Flaw That Broke the Web: How a Hidden PHP Bug Sparked a Global Cyber-Security Scramble
LONDON — A critical security flaw discovered in PHP, the programming language that powers a vast majority of the world's websites, triggered an emergency global response this week, forcing governments and businesses from Europe to Asia to take websites offline or scramble to patch their systems.
What Is PHP?
PHP, which originally stood for "Personal Home Page" but now stands for "Hypertext Preprocessor," is a server-side programming language used to build dynamic websites and web applications . When a visitor loads a page that uses PHP, a server running the language assembles the content and sends it to the browser .
It is free, open-source software maintained largely by volunteers . Despite its humble origins in the early 1990s, PHP underpins a staggering share of the public-facing web. According to web technology tracker W3Techs, roughly 75% of websites whose programming language can be identified use PHP . It powers popular platforms including WordPress, Drupal, Joomla, and Magento, as well as online shopping malls and even Wikipedia .
The Flaws: 'PHP2Shell'
The crisis revolves around two critical vulnerabilities in the PHP core itself, collectively dubbed "PHP2Shell" and tracked as CVE-2026-109618 and CVE-2026-109619 . Both are rated 9.2 out of 10 on the CVSS v4.0 severity scale .
The flaws allow unauthenticated remote code execution (RCE), meaning an attacker can run malicious code on a vulnerable web server without needing any login credentials . Because the flaws sit in the PHP runtime rather than in any specific application, even a simple "Hello World" page on a vulnerable PHP version can be attacked . Attackers could also read memory from the PHP worker process, potentially exposing passwords, session tokens, and API keys .
The highest risk is on servers using Apache's mod_php, where a demonstrated exploit triggers before any application code runs .
Discovered by AI
What makes this incident particularly notable is that the flaws were discovered with the help of artificial intelligence. Cybersecurity firm Wiz, working alongside researchers from OpenAI, used frontier AI models to uncover the vulnerabilities, which had gone undetected for more than a decade .
Wiz described them as the "most severe vulnerabilities ever discovered" by AI, noting that "frontier models were critical to making this process practical, enabling us to develop and adapt working exploits across multiple applications in hours" . OpenAI said the discovery was "one of the most impactful security issues in recent memory" .
The Leak and the Scramble
The PHP security team had planned to release patches on October 22, but details of the flaws leaked on social media on October 20, forcing the release forward by a day to 14:00 UTC on October 21 . The leak meant attackers had a head start.
By the time patches landed, exploitation attempts were already being observed. Cloudflare CEO Matthew Prince said the company saw "thousands of attempts" to exploit the flaw in the 10 hours before the public announcement, jumping to "millions now" . Amazon Web Services said the flaw was "being broadly exploited in the wild" .
Global Response
The reaction was swift and dramatic. Governments and agencies worldwide urged immediate patching—or taking systems offline if patching wasn't possible .
Europe: Finland temporarily shut down the government's public web services. The Netherlands' cyber-security agency took its own website offline, along with the Dutch parliament's lower house and the Port of Rotterdam. Belgium's foreign ministry, the Czech government, and French local government administrative offices all took sites down as a precaution .
North America: Canada's federal government took some websites offline temporarily, including the Canadian Centre for Cyber Security and Statistics Canada . The White House said federal agencies were working with leading AI labs to speed up a fix .
Asia-Pacific: South Korea raised its cyber crisis warning level to "caution," with Science Minister Bae Kyung-hoon noting that "exploit codes have already been made publicly available" . Japan's Prime Minister urged people to check if their websites ran on PHP .
International bodies: The Wikimedia Foundation, which runs Wikipedia, said it had taken down a number of systems as a precaution . The US National Security Agency, UK National Cyber Security Centre, EU cybersecurity officials, and Australia's cyber security centre all issued urgent advisories .
The Patch
PHP released emergency updates fixing the flaws: versions 8.5.12, 8.4.27, 8.3.36, and 8.2.35 . Only updating the PHP runtime fully protects a server—updating an application like WordPress or Laravel does not update the PHP runtime beneath it .
PHP 8.1 and older versions are end-of-life and will not receive official fixes, though the PHP security team published source backports for 7.4, 8.0, and 8.1 .
What Comes Next
Security experts warn that the full impact may not yet be known. Alp Toker of NetBlocks told Sky News that disruption could become "more widespread," warning: "These systems are going to continue to get compromised—month after month, year after year" .
The incident also raises broader questions about AI's role in cybersecurity. While AI was instrumental in finding and fixing the flaws, experts fear attackers could use similar tools to automate exploitation at scale .
As of publication, organizations worldwide are continuing to patch systems and assess potential compromises.
Discussion (0)
No comments yet. Be the first to share your thoughts!