Japan's prime minister urges an overnight PHP update as two critical flaws send websites offline

Two critical flaws in PHP, the language behind roughly 70 percent of websites, were fixed late on October 21. Japan's prime minister and its cyber office asked operators to patch that night, and well-known services paused as a precaution.

PHP update issue
PHP update issueImage: Colin Viebrock / php.net, PHP logo (CC BY-SA 4.0, adapted into an illustration)

Japan's government and a long list of well-known websites reacted overnight to two critical security flaws in PHP, the programming language that runs a large share of the web. The PHP project released fixes at about 23:00 Japan time on Wednesday, October 21. Before that, Prime Minister Sanae Takaichi asked website operators on X to get ready to apply the update that night, and said that taking a site offline for a while was one effective way to cut the risk if patching could not be done quickly. Services including BASE, pixiv, niconico and several Cygames games paused or went into emergency maintenance. The reports used for this story describe those pauses as precautions. None of them reports a confirmed break-in at a Japanese service.

What was found

The PHP security team announced two vulnerabilities, CVE-2026-109618 and CVE-2026-109619, which have been nicknamed "php2shell." Both are rated 9.2 out of 10 on the CVSS 4.0 scale, according to INTERNET Watch. The US Cybersecurity and Infrastructure Security Agency (CISA) says they can let an attacker run code on a server remotely, without logging in, on any PHP installation that serves web requests.

The first flaw involves how PHP behaves when it runs out of memory. According to ITmedia and the PHP advisory, processing can be interrupted while a request's internal data is only partly set up, and the cleanup that follows may treat that incomplete data as valid. The second concerns state that survives after the memory behind it has been freed. A later request handled by the same worker process can then use that leftover state before it is reset.

The PHP project released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 to fix them. Its website strongly recommends that all PHP users update immediately, ITmedia reported. A member of the PHP development team told Kyodo News that updating is the only safe option. Linux distributions and long-term-support vendors received the patches before the public release, so administrators who install PHP from a vendor should look for the vendor's update package.

The affected software includes PHP-FPM, the Apache module known as mod_php, php-cgi, FrankenPHP and LiteSpeed. ITmedia says mod_php is the most dangerous setup and that an attack has been demonstrated with a request that needs no login and takes effect before any of the website's own code runs. The PHP advisory for the first flaw says exploitation has been confirmed against mod_php with default settings. For PHP-FPM, it says the software is considered susceptible but that no complete exploit has been demonstrated.

What the Japanese government said

Kyodo News reported that the Information-technology Promotion Agency (IPA), which operates under the Ministry of Economy, Trade and Industry, announced the flaws on October 21 and urged companies to apply the fix released late that night. The National Cyber Office warned that websites could be compromised if operators did not act.

The prime minister's post went up at 21:55 on October 21, INTERNET Watch reported. TBS NEWS DIG described it as an urgent request, asking people to deal with the problem that night. According to the reports, she made four points:

  • Check whether your public websites use PHP.
  • Prepare so the fix scheduled for 23:00 can be applied as quickly as possible.
  • If the fix cannot be applied promptly, temporarily suspending a website or similar service is an effective way to lower the risk.
  • Follow the National Cyber Office's X account for related information.

The National Cyber Office's own post made the same point about suspending sites, according to INTERNET Watch. The outlet also noted that although the message was addressed to everyone, only server administrators and rental-server companies can actually install the fix, and ordinary users cannot do much themselves.

Governments elsewhere gave similar advice. CISA urged organisations to patch immediately and said that anyone who cannot update at once, or who runs PHP 8.1 or earlier, should take PHP-based systems offline until they are fixed. Help Net Security reported that the UK's National Cyber Security Centre also urges taking systems offline if they cannot be fixed right away.

Services that paused

Impress Watch reported that many services began pausing from just after 20:00 on October 21, ahead of the scheduled release. BASE, the online-shop service, and Kodomon, a software service for nurseries, entered maintenance that afternoon. Pixiv, DMM.com, niconico and some Sakura Internet services carried out emergency maintenance, and several games, including Granblue Fantasy and Uma Musume Pretty Derby, paused service. The same report said some local governments announced temporary system shutdowns.

ITmedia's list of companies that temporarily stopped sites or services also names Cygames, Shizuoka Bank and Hankyu Railway. It adds that the rental-server providers Sakura Internet, XServer and GMO Pepabo carried out emergency maintenance, and that pixiv had partly resumed by the time of its report on the morning of October 22.

The reports give the reason for the pauses as preparation for the moment the fix became public. Many services stopped in advance to guard against attacks aimed at servers that had not yet been updated. INTERNET Watch also reported that some services said they would end operations because they could not respond in time, and that some long-neglected sites may not respond at all and may announce nothing.

How serious is the risk

Whether the flaws are already being used in attacks is described differently by different sources. CISA said it had not observed exploitation when it published its alert. Help Net Security, citing Amazon Threat Intelligence, reported that Amazon's decoy system recorded an exploitation attempt on October 17, four days before the public announcement, from an address tied to a commercial anonymisation service. Amazon believes a threat actor was behind it, and it is not known how the attacker obtained details of the flaws before they were announced.

ITmedia says the fixes are the only reliable remedy. It lists two stopgaps for people who cannot update at once: removing the memory limit, or switching off the feature that records the progress of file uploads in sessions. It stresses that these only reduce exposure to particular attack paths, and in its words there is no complete mitigation.

Older versions

PHP 8.1 and earlier no longer receive the regular updates. ITmedia reported that the PHP project, because of the severity, published minimal patched source code for 7.4, 8.0 and 8.1. Users of those versions are advised to ask their vendor whether a fix exists or to move to a supported version.

Who found the flaws

INTERNET Watch reported that OpenAI says its model GPT-5.6 Sol discovered the vulnerabilities, as part of an AI-assisted program for finding and fixing bugs in open-source software that OpenAI launched in June 2026, and that the security firm Calif used the model to identify them. We could not confirm this with a second outlet. OpenAI described the gap between discovery and disclosure as a window that let defenders prepare fixes before the flaws became public.

Why it matters

PHP is everywhere. Kyodo News cited an unnamed European research organisation as finding that PHP is used by 69.3 percent of websites worldwide, which is the origin of the "about 70 percent" figure in Japanese headlines. A flaw that works without a login and affects the most common ways of running PHP is the kind that makes administrators act in the middle of the night, and in Japan it also brought a direct public appeal from the prime minister.

INTERNET Watch suggested that organisations may be more willing in future to pause services at the first sign of attack activity, but it presented this as a possibility, not an established trend.

What we do not know

The reports reviewed for this story do not describe a new law or binding rule. What the Japanese government issued, according to them, was warnings and requests: from the prime minister, the National Cyber Office and the IPA.

It is not yet clear how many Japanese sites were updated in time, or whether any were compromised. The sources describe the pauses as precautions, and none reports a confirmed intrusion at a Japanese company. Exploitation elsewhere is reported differently by CISA and Amazon, as described above, and the picture is still changing. Which older PHP versions are affected is also unsettled: the PHP project has fixed four current branches and published emergency source patches for three older ones, but the reports we read do not give a definitive list of every affected release.

Finally, the OpenAI claim about how the flaws were found rests on one report. Readers who run PHP should rely on the PHP project's own advisories and their vendor for what to install.

In brief

  • Two critical PHP flaws (CVE-2026-109618 and CVE-2026-109619) were fixed on October 21 in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
  • Japan's prime minister, the National Cyber Office and the IPA urged operators to patch that night, and said pausing a site was a valid way to cut risk if patching could not be done quickly.
  • BASE, pixiv, niconico, Cygames games and others paused or ran emergency maintenance as a precaution; no confirmed break-in at a Japanese service has been reported.
  • Administrators should update or check their vendor for patched packages; users of PHP 8.1 and earlier need a vendor fix or an upgrade.

Sources

Get news notifications

Tap the button, then choose Allow when your browser asks. We will send you an alert when we publish. You can turn it off any time in your browser's settings for this site.

More stories