Ted QuinnOct 22, 2026 5 min read

Massive PHP Security Flaw Knocks Websites Offline Around the World

SINGAPORE, SINGAPORE - OCTOBER 22: The homepage of the PHP.net website is seen on October 22, 2026 in Singapore. Cyber-security flaws were recently identified in the popular PHP programming language, which is used on a vast number of websites across the world, including those of major companies and national governments. The PHP Foundation released two patches designed to fix the vulnerabilities. (Photo illustration by Yong Teck Lim/Getty Images)
Cyber-security flaws were recently identified in the popular PHP programming language, which is used on a vast number of websites across the world. | Getty Images

Websites around the world went dark this week after the discovery of two critical security flaws in PHP, a programming language that powers roughly 70% of the internet, including sites built on WordPress and Drupal.

Governments, banks, airlines and even Wikipedia temporarily took sites and services offline to install emergency fixes. The good news is that so far, no major organization has reported being hacked because of the flaws.

What Happened

The two flaws, nicknamed "PHP2Shell," were found by researchers at OpenAI, Google-owned Wiz and a cybersecurity company called Calif, who used artificial intelligence tools to dig through PHP's code. According to Wiz, the weaknesses "had remained hidden in the PHP codebase for more than a decade," ABC7 New York reported.

Both flaws were rated 9.2 out of 10 for severity. They could let attackers take control of a website without logging in and potentially read sensitive information, such as passwords, stored in a server's memory.

SAN FRANCISCO, CALIFORNIA - SEPTEMBER 29: Open AI CEO Sam Altman delivers the keynote address during the OpenAI developers conference at Fort Mason on September 29, 2026 in San Francisco, California. Altman announced new artificial intelligence personal assistant agents named "dots" to rival Meta's Muse. (Photo by Heather Diehl/Getty Images)
Getty Images

The researchers found the problems in late August and planned to keep them quiet until a fix was ready. But details leaked early, including a video of a working attack that was accidentally posted online on Oct. 20. The PHP team then moved up its release and put out patches on Wednesday, Oct. 21, The Hacker News reported.

The U.S. National Security Agency and Europe's cybersecurity agency urged organizations to act immediately. Wiz researchers compared the situation to Heartbleed, a major 2014 security bug that affected a large share of the web.

Who Went Offline

Government websites in France, Denmark, Finland and the Netherlands were temporarily taken down while fixes were installed. In Japan, the airline ANA, the rail operator JR West and MUFG, the country's largest bank, temporarily suspended some webpages and services.

LONDON, ENGLAND - JANUARY 18:  A laptop computer displays Wikipedia's front page showing a darkened logo on January 18, 2012 in London, England. The Wikipedia website has shut down it's English language service for 24 hours in protest over the US anti-piracy laws.  (Photo by Peter Macdiarmid/Getty Images)
A laptop computer displays Wikipedia's front page. | Getty Images

The Wikimedia Foundation, which runs Wikipedia, said several of its systems were taken down as a "precautionary measure." In the U.K., Downing Street said no large public-facing critical services were affected and stressed that services being offline does not mean they were hacked.

Japanese Prime Minister Sanae Takaichi urged companies to act quickly. "Please check if your publicly available websites use PHP," she wrote on X.

TOKYO, JAPAN - OCTOBER 05: Japanese Prime Minister Sanae Takaichi delivers a policy speech at the lower house of the Diet on October 05, 2026 in Tokyo, Japan. Japan's extraordinary diet session opened today.  (Photo by Tomohiro Ohsumi/Getty Images)
Japanese Prime Minister Sanae Takaichi. | Getty Images

The Dutch National Cyber Security Centre warned that some sites could take a while to return. "Some websites can flip a switch, but for others it may take longer," Deputy Director Corine Schipper-Derkse said, according to NL Times.

Have Any Sites Been Hacked?

So far, there are no confirmed reports of a major breach tied to the flaws. Most of the disruption has come from organizations choosing to shut down sites on their own while they patched.

SAN FRANCISCO, CALIFORNIA - DECEMBER 04: Matthew Prince, Co-Founder/CEO, CloudFlare speaks onstage during "Safeguarding the Internet's Future" at WIRED's The Big Interview 2025 at The Midway SF on December 04, 2025 in San Francisco, California. (Photo by Kimberly White/Getty Images for Wired)
Matthew Prince, Co-Founder/CEO of CloudFlare speaks onstage. | Getty Images

Hackers are trying, though. Cloudflare CEO Matthew Prince said the company saw thousands of attempts to exploit the flaws in the hours before the fix was announced, and that number has since grown into the millions.

Experts say pulling the plug for a day was the smart move. "Taking a website offline for a day is a far cheaper decision than explaining a breach for a year," said Samuel Hassine, CEO of the cybersecurity company Filigran.

Hackers are increasingly using artificial intelligence to automate attacks, scale cybercrime operations, and target victims faster than ever.

 (Adobe Stock)
Hackers are increasingly using artificial intelligence to automate attacks, scale cybercrime operations, and target victims faster than ever. | Adobe Stock

The discovery is also another sign of how quickly AI is changing cybersecurity, for better and for worse. Last month, an OpenAI agent reportedly breached an Australian government health website.

What This Means for You

For most people, there is nothing to install. The fix is for the servers that run websites, not for your phone or computer. "You don't need to install PHP updates on your own device," security company Malwarebytes said.

If a favorite website is down, that alone does not mean it was hacked. It most likely means the site is being updated, and many of the affected sites are already back online.

Adobe Stock

Still, it is smart to stay alert. Malwarebytes advises watching for odd content, unexpected downloads, strange redirects or repeated login prompts on familiar sites. If a page looks off, close it and do not enter any personal information.

If you run your own website or blog, check with your web host to make sure your site has been updated to the latest version of PHP.


Curious for more stories that keep you informed and entertained? From the latest headlines to everyday insights, YourLifeBuzz has more to explore. Dive into what’s next.

Explore by Topic