PHP: What is it and why did it spark a global cyber security scramble?
Artificial intelligence has uncovered severe, decade-old vulnerabilities in PHP, a foundational programming language for much of the internet, triggering a global cybersecurity alert and urgent calls for website operators to patch systems or take them offline.
Intelligence analysis by Gemini 2.5 Flash

Advanced AI tools identified critical, long-standing flaws in PHP, which powers millions of websites including government portals and Wikipedia, leading to an international scramble by cybersecurity agencies and governments. The discovery highlights AI's dual potential to both detect and potentially facilitate the exploitation of complex software vulnerabilities, prompting immediate a…
Imagine the internet is a giant city, and many buildings are made with special bricks called PHP. For a long time, some of these bricks had tiny, hidden cracks that no one noticed. Then, a super-smart computer brain (AI) found all these cracks really fast, making everyone worried that bad guys could sneak into the buildings. So, everyone is rushing to fix their bricks!
Analysis
PHP
PHP, short for PHP: Hypertext Preprocessor, is a programming language that has been a cornerstone of the internet since the 2000s, underpinning a vast array of platforms from online shops and blogs to Wikipedia and WordPress. Despite its widespread use, serious flaws had gone undetected within its code for over a decade. These vulnerabilities are particularly severe, allowing attackers to potentially take control of affected web servers without authentication and steal sensitive data, leaving millions of websites exposed. The sheer ubiquity of PHP means that the discovery of these flaws has far-reaching implications for global digital security, affecting everything from government portals to gaming platforms.
When a user interacts with a website built on PHP, the language is responsible for collecting and presenting information in a readable format. The newly discovered flaw, however, could turn this essential function into a critical weakness. Experts like Paul Spain of Gorilla Cyber Security estimate that the vulnerability could affect "millions and millions" of websites, making the potential for a "disastrous" outcome if weaponized by hackers or state actors a significant concern. The public disclosure of technical details surrounding these flaws is expected to lead to increased exploitation attempts in the coming weeks, underscoring the urgency of the situation.
OpenAI
The discovery of these critical PHP vulnerabilities was facilitated by advanced AI tools, with OpenAI's technology specifically cited as instrumental in bringing these flaws to light. OpenAI described the finding as "one of the most impactful security issues in recent memory," highlighting AI's capacity to analyze complex code and identify weaknesses much faster than human experts or traditional systems. This incident serves as a powerful demonstration of AI's potential to revolutionize cybersecurity by enhancing the detection of sophisticated, long-standing bugs that have eluded conventional scrutiny for years.
However, the incident also underscores a significant dual-use dilemma for AI. While it proved invaluable in uncovering these vulnerabilities, OpenAI itself noted that AI can also "help attackers rapidly develop offensive tools and exploits." This dual capacity means that as AI becomes more sophisticated in identifying flaws, it simultaneously empowers malicious actors to exploit them more efficiently. The company has since released a program to help check PHP platform security, acknowledging the need to mitigate the very risks that AI's capabilities might inadvertently amplify. This dynamic presents a complex challenge for the cybersecurity community, requiring continuous innovation in defensive AI alongside careful consideration of its offensive potential.
Sanae Takaichi
The global response to the PHP vulnerabilities has been swift and coordinated, with governments and cybersecurity agencies worldwide issuing urgent advisories. Japanese Prime Minister Sanae Takaichi, for instance, publicly urged website operators to check if their platforms ran on PHP and to take immediate action. Her message, shared on X, emphasized the critical need for prompt application of fix patches or, if that was not immediately possible, the temporary suspension of websites to reduce risk. This level of high-profile governmental intervention highlights the severity and widespread concern surrounding the flaws.
Similar warnings and directives were echoed by major cybersecurity bodies, including the US National Security Agency (NSA), the UK's National Cyber Security Centre (NCSC), and their counterparts in the EU, Singapore, and Australia. The NSA specifically warned that the flaw could provide a "direct path" to exploit a system's database, necessitating immediate patching across all United States Government departments and agencies. The NCSC advised organizations to check for "backdoors installed by an attacker," indicating the potential for pre-existing compromises. This unified global scramble reflects the critical importance of PHP to internet infrastructure and the potential for widespread disruption and data theft if the vulnerabilities are not addressed swiftly and comprehensively.
Key points
- AI discovered severe, decade-old vulnerabilities in PHP, a core internet programming language.
- The flaws allow attackers to take control of web servers and steal sensitive data without authentication.
- Millions of websites, including government portals, Wikipedia, and WordPress, are potentially affected.
- Governments and cybersecurity agencies globally issued urgent warnings to patch systems or take them offline.
- The incident highlights AI's dual capacity to both uncover and potentially facilitate exploitation of security flaws.
The discovery by AI demonstrates its significant potential to enhance cybersecurity by rapidly identifying complex, deeply embedded vulnerabilities that human experts or older systems might miss, leading to more secure digital infrastructure in the long run.
The public disclosure of these severe PHP flaws, coupled with AI's ability to rapidly develop exploits, increases the immediate risk of widespread cyberattacks, particularly for smaller organizations with limited resources that may struggle to implement timely patches.



