NSA Warns on PHP Flaw as Six European Nations Pull Sites

Governments in six nations (Germany, France, Belgium, the Netherlands, Finland and the Czech Republic) temporarily took sites down over the PHP flaws, according to Al Jazeera. The NSA’s advisory on the PHP flaws tells organizations to patch at once and, if an immediate update is not feasible, to take the affected system offline until it can be fully mitigated. The fixes are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, released on October 21, 2026, and CISA listed both CVEs in its Known Exploited Vulnerabilities catalog on October 26, 2026; Nextgov’s report covers the federal response.

Google · Preferred Sources

Don't miss new tech stories on Google

Add Tech Insider once in the Google app and our stories appear in your news suggestions.

Add Now

Which nations took sites down, and why the list has six names

Al Jazeera’s report of October 22 gives the most detail. Germany’s digital ministry took some websites offline as a precaution, and, in the outlet’s words, “France’s Ministry of the Interior deactivated the official websites for local administrative offices.” Authorities in Belgium, the Netherlands, Finland and the Czech Republic said they had shut websites down to apply the security patch. A Wall Street Journal opinion piece names the same six countries as having temporarily taken down some government sites. Because that piece is opinion, the per-country detail here rests on Al Jazeera.

All six countries appear in both Al Jazeera’s report and the Journal’s piece. Al Jazeera gives applying the patch as the reason for the shutdowns, and Germany described its step as a precaution.

What the NSA advisory asks of operators

The NSA advisory is dated October 21, 2026 (page checked November 13, 2026). CISA’s alert on the flaws, titled “Critical Vulnerabilities in PHP Require Immediate Patching” and last revised October 26, 2026 (checked November 13, 2026), points to the NSA advisory, which carries the title “Critical Patches Recommended for PHP Vulnerabilities”, as partner guidance, and the Wall Street Journal piece also dates it to October 21. The NSA says PHP2Shell “could allow attackers to take control of affected web servers without prior access or authentication.” It also stresses that “These vulnerabilities are flaws in PHP itself, not in the hosted application or its configuration.”

Three instructions matter to an operator. Patching is urgent: the NSA writes that cyber actors are likely to weaponize the flaws and that the risk is serious enough to require immediate patching across US government departments and agencies. Going offline is the fallback, and the advisory words it as a recommendation to organizations: “If an immediate update is not feasible, it is recommended that organizations take the system offline until it can be fully mitigated.” And end-of-life PHP services should be replaced. The Hill adds that the FBI’s cyber division urged organizations to act quickly and monitor their web services, and asked that signs of compromise be reported to a local FBI field office or the Internet Crime Complaint Center.

The offline step is a last resort with a defined exit, “until it can be fully mitigated”, and it is the same move the governments above made while they applied the patch.

CVE-2026-109618 and CVE-2026-109619: type, severity and the releases that fix them

Both flaws are remote code execution bugs, and Unit 42 rates both 9.2 on CVSS 4.0, citing CERT-EU.

CVEFlaw typeSeverityFixed in
CVE-2026-109618Out-of-memory remote code execution9.2 (CVSS 4.0)PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35
CVE-2026-109619Stale-global-state remote code execution9.2 (CVSS 4.0)PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35

According to CERT-EU, the PHP team released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on October 21, 2026, and both vulnerabilities can allow unauthenticated remote code execution. For a site on one of those four branches, the target is the release number for its branch or a later one.

On how far back the exposure reaches, Wiz Research’s post, dated October 21, 2026, says “Nearly every PHP version is affected by at least one of these issues, including releases dating back to PHP 5.4” (page checked November 13, 2026). A site on a branch outside the four fixed releases has no matching update; with the NSA advising that end-of-life PHP services be replaced, the realistic route there is a move to a maintained branch, and the PHP project’s supported-versions page shows which ones those are.

Because the flaw is in PHP, updating WordPress, Drupal, Joomla or their plugins does not close it. Wiz demonstrated successful attacks against installations of all three, Nextgov reports, and Wiz said the findings “rank among the most severe vulnerabilities discovered in PHP, and arguably in software history”, as Al Jazeera quotes it. That is Wiz’s own characterization, not an independent ranking.

From two August reports to the October 26 KEV listing

The order of events decides how worried an unpatched operator should be, because an attempt was seen before the public had any notice.

DateEventReported by
August 11Researchers at Calif, working with OpenAI, report the first flawAl Jazeera
August 24Wiz, owned by Alphabet, reports the second flawAl Jazeera
October 17Amazon Threat Intelligence sees a PHP2Shell exploitation attempt in its MadPot telemetry, four days before public disclosureAmazon Web Services security blog
October 21, 13:30 UTC (about 9:30 a.m. ET)The PHP team releases the fixes in 8.5.12, 8.4.27, 8.3.36 and 8.2.35CERT-EU
October 21NSA advisory published; CISA’s alert points to it as partner guidanceNSA, CISA
October 26CISA adds both CVEs to its Known Exploited Vulnerabilities catalog; alert last revised the same dayCISA

Operators got little warning. Nextgov reports that after an early leak, PHP’s developers announced the fixes would arrive a day ahead of the planned disclosure, and CNBC reports that Calif accidentally posted a proof-of-concept video, later taken down. For the release time the table uses CERT-EU’s advisory, as checked on November 13, 2026.

CISA’s first alert said, as Nextgov quotes it, “While CISA has not observed exploitation of these vulnerabilities as of the time of publication, they pose a risk to organizations if left unpatched.” The KEV listing on October 26 came later, so the two statements do not conflict. In our assessment, Amazon’s October 17 sighting plus the KEV listing mean the wait-and-see period was over before CISA’s listing, so we would treat any internet-facing server that ran an unpatched build as one to review rather than one to assume clean.

CISA’s alert shows “Last Revised October 26, 2026” and an update note dated October 26, 2026 about the KEV addition when checked on November 13, 2026.

A 14-year-old bug, a 2024 near-miss and an exploit built in under a day

OpenAI president Greg Brockman said the bug had been in the code for 14 years, and that a limited version was found in 2024 but not deemed significant, according to The Hill. The PHP Foundation acknowledged in a blog post, as CNBC reports, that the delay in fixing a similar flaw reported two years earlier was a “structural failure, caused by both the security team’s decision process and its lack of resources.”

The gap between a patch and a working exploit is now short. Matt Suiche of Tolmo told CNBC his team coded a working exploit in less than a day with AI, against multiple weeks before. The PHP Foundation itself said: “Tools now find bugs faster than ever, for defenders and attackers alike, and the number of reports will keep growing.”

For an operator, the lesson is less about this bug than about the PHP runtime being a standing patch item. Someone should own the inventory of PHP versions, be able to restart PHP-FPM or Apache without waiting for a maintenance window, and know the hosting provider’s update path before the next advisory arrives on short notice, as this one did.

22.6 million, 900 and 68.7%: three counts of different things

Unit 42 says its Cortex Xpanse telemetry found over 22.6 million exposed instances potentially vulnerable to the two CVEs. That counts internet-facing instances that may be affected, not compromised ones. Nextgov/FCW’s own Shodan search found roughly 900 results tied to US federal, state and local government websites that showed signs of PHP use; those are sites running PHP, not confirmed vulnerable ones, and they cover US government only. W3Techs reports PHP on 68.7% of websites whose server-side language it can identify, which Nextgov rounds to roughly 70%, and notes that WordPress, Drupal and Joomla rely on it. That share is of identifiable sites, not of all websites, and it says nothing about versions.

Use the three figures to judge how widespread the problem is. Your own exposure depends on the exact PHP build behind each internet-facing service.

Patch, bridge or go offline: the order to work through, and the check afterwards

  1. Find every PHP runtime. The command-line php -v is not the web runtime; check PHP-FPM, Apache’s PHP module, containers and managed hosts.
  2. Update to the fixed release for your branch: 8.5.12, 8.4.27, 8.3.36 or 8.2.35. On a managed host, ask the provider which fixed release it runs. OpenAI also released a PHP version checker within Codex, per The Hill, to help operators spot vulnerable versions.
  3. If you cannot patch yet, sites behind Cloudflare get initial WAF rules for the known exploit vectors. Cloudflare says the protections are “available and deployed automatically on all plans with WAF deployed, including Free users.” Its CTO called them a stopgap only, so they buy time and do not replace the update.
  4. If neither is possible and the site is exposed, take it offline until it is fully mitigated, as the NSA recommends.
  5. Replace end-of-life PHP branches, since no release in the list above covers them.

The script below is our own, not vendor guidance, and is for Debian and Ubuntu hosts. It lists installed PHP packages, upgrades only packages that are already installed, restarts PHP-FPM and Apache if they are running, prints the binaries on disk, and searches each package’s changelog for the two CVE IDs, because distribution packages can carry a fix under an older version number. It does not touch containers or managed hosting.

#!/usr/bin/env bash
set -euo pipefail

# Debian and Ubuntu only. Needs sudo and network access.
mapfile -t pkgs < <(dpkg-query -W -f='${binary:Package}\n' 'php*')
if [ -z "${pkgs[*]:-}" ]; then
  echo "No PHP packages installed through apt."
  exit
fi

echo "Installed before the upgrade:"
dpkg-query -W 'php*'

sudo apt-get update
sudo apt-get install --only-upgrade -y "${pkgs[@]}"

# Restart every active PHP-FPM service, then Apache if it is running (mod_php).
systemctl list-units --type=service --state=active --plain --no-legend 'php*-fpm.service' |
  while read -r unit _; do
    sudo systemctl restart "$unit" < /dev/null
  done
if systemctl is-active --quiet apache2; then
  sudo systemctl restart apache2
fi

# Show the binaries now on disk. The CLI is not the web runtime, so check both.
for bin in /usr/bin/php /usr/sbin/php-fpm*; do
  if [ -x "$bin" ]; then
    echo "== $bin"
    "$bin" -v
  fi
done

# Distro packages can carry the fix under an older version number.
for pkg in "${pkgs[@]}"; do
  if apt-get changelog "$pkg" | grep -E 'CVE-2026-109618|CVE-2026-109619' > /dev/null; then
    echo "$pkg: changelog names the fix"
  else
    echo "$pkg: changelog does not name the CVEs (or could not be fetched)"
  fi
done

Updating closes the hole; it does not remove anything an attacker already left behind. Amazon saw an exploitation attempt on October 17, four days before disclosure, and both CVEs are in CISA’s KEV catalog, so for any internet-facing server that ran an unpatched build, review activity since October 17: new or modified files in web roots, unfamiliar processes and unexpected outbound connections. If you find signs of compromise, report them to your local FBI field office or the Internet Crime Complaint Center, as the FBI’s cyber division asked.

Our earlier report, AI Finds PHP2Shell Flaw Hitting 70% of the Web, covers how the flaws were found in more detail.

Nadia Dubois

Nadia Dubois

AI, software and the business of tech

Nadia Dubois covers AI, software and the business of tech for Tech Insider: AI models and the products built on them, developer and productivity software, pricing, and the company decisions and regulation that shape the industry.

View all articles