Government and company websites worldwide have temporarily shut down services as cybersecurity teams rush to fix critical PHP flaws. The vulnerabilities were uncovered with the help of artificial intelligence (AI) and could expose affected servers to cyberattacks.

Government and company websites worldwide have temporarily shut down services as cybersecurity teams rush to fix critical PHP flaws. The vulnerabilities were uncovered with the help of artificial intelligence (AI) and could expose affected servers to cyberattacks.
Nearly three dozen UK government services were unavailable, while four others were partially unavailable during security upgrades, UK government minister Elizabeth Lloyd told the House of Lords. A government spokesperson said no major public-facing critical services were affected, although some limited services could remain offline during the work.
PHP powers around 70% of websites worldwide, including platforms built with WordPress and Drupal. However, this does not mean every website using PHP is vulnerable. The US National Security Agency and European cybersecurity authorities have urged organizations to apply the available security fixes immediately.
The PHP Foundation released patches on October 21 for the vulnerabilities, collectively known as PHP2Shell. The flaws can allow attackers to execute malicious code remotely, access sensitive memory and potentially compromise affected servers.
The vulnerabilities were identified by researchers at cybersecurity company Wiz, OpenAI and Calif, with other organizations helping investigate and address the issue. The flaws affect PHP's core engine, meaning the risk is not limited to a particular website platform.
Attackers could exploit vulnerable systems to execute code without authentication or access sensitive information stored in server memory, including passwords, authentication tokens and API keys. The vulnerabilities also create risks of service disruption and data exposure.
Websites and services in several countries have been affected by precautionary shutdowns. In Japan, airline ANA, railway operator JR West and financial group MUFG reported temporary suspensions affecting some webpages or services.
The French, Danish, Finnish and Dutch government sites were temporarily taken offline as well, while security updates were rolled out. The Wikimedia Foundation, which runs Wikipedia, confirmed it had been working on the vulnerabilities and that some systems had been taken offline as a precaution.
Irish news website The Journal also temporarily went offline while strengthening its defenses.
Japan's Prime Minister Sanae Takaichi urged companies to check whether their public-facing websites use PHP and prepare to install the fix. Dutch Prime Minister Rob Jetten said his government was closely monitoring the situation.
The discovery highlights how AI is changing vulnerability research. According to Wiz researchers, advanced AI models and supporting tools helped uncover and demonstrate how long-standing weaknesses could be exploited.
The research team used Google's Gemini 4 Argon, Wiz Atlas and OpenAI's GPT-5.6 Sol. Wiz said work that could previously have taken a highly skilled team months was completed by one researcher in about a week.
The researchers compared PHP2Shell with Heartbleed, a major security flaw disclosed in 2014 that exposed sensitive information across systems using a widely deployed encryption technology.
Cloudflare, which worked with researchers and software maintainers on the response, also developed protections for its web application firewall customers. However, such safeguards do not replace installing the PHP security updates.
The incident serves as a reminder of the increasing challenge for cybersecurity teams: AI can aid defenders in identifying vulnerabilities in popular software, but it can also reduce the amount of work needed to create exploits. Those organizations that are operating vulnerable PHP versions are encouraged to patch their systems and evaluate their security solutions.