Technology · News
Critical PHP Flaws Force Government Sites Offline Before Emergency Patch
Published:
In brief
Two critical PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619, led government agencies in the Netherlands and Finland to take websites offline on October 21, 2026, hours before PHP's developers shipped an emergency patch. Both flaws are rated 9.2 on the CVSS v4.0 scale and allow remote code execution without authentication; Cloudflare reported early exploitation attempts before the fix went out.
PHP's development team scheduled an out-of-cycle security release for 14:00 UTC on October 21, 2026, to fix two critical vulnerabilities after details leaked online a day earlier, according to The Hacker News and the security firm Sansec. The flaws were tracked as CVE-2026-109618 and CVE-2026-109619 and were informally nicknamed "PHP2Shell" by researchers, a name PHP's own team did not adopt, The Hacker News reported.
What the vulnerabilities are
According to Sansec's technical write-up, CVE-2026-109618 is a use-after-free bug in PHP's upload-progress handling that can leak server memory — including passwords, session tokens and TLS private keys — through the PHPSESSID cookie, in a manner the firm compared to the 2014 Heartbleed bug. CVE-2026-109619 is a separate use-after-free triggered when a fatal error occurs during memory exhaustion, combined with type confusion in PHP's OPcache, which Sansec said enables remote code execution. Both bugs are reached through multipart/form-data requests, the format web pages use for file uploads.
The UK's National Cyber Security Centre (NCSC) described the risk in its October 21 advisory as allowing an attacker to "execute commands on any web server running PHP" without needing to log in, and rated the issue critical.
Why governments and platforms went offline
Because PHP underlies a large share of the web, several organisations chose to shut down public-facing sites rather than wait for the patch. Techzine reported that Dutch government services including MijnOverheid, DigiD and parliamentary systems were temporarily taken offline, and the news wire story carried by KSL said cybersecurity agencies in the Netherlands and Finland pulled government sites down as a precaution. Techzine also reported that the UK's NCSC and the US Cybersecurity and Infrastructure Security Agency (CISA) issued alerts urging administrators to patch or disable affected systems, while Wikipedia and Meta kept running by applying modified PHP runtimes and web-application-firewall rules instead of going dark.
Sansec reported that PHP core developer Gina Peter Banyard described taking servers offline before the patch arrived as the most sensible option for organisations unable to apply a fix immediately — advice several Dutch bodies followed.
Cloudflare said it began seeing exploitation attempts before the official patch was released. According to the KSL report, Cloudflare's chief technology officer said the company was observing early attacks and continuously updating its mitigations as new attack methods appeared, describing Cloudflare's protection as a temporary stopgap until PHP's official fix arrived. Sansec separately reported that Cloudflare detected attacks starting at 07:43 UTC on October 21, roughly six hours before PHP's scheduled fix.
- WordPress, Drupal, Joomla and Magento, the content-management and e-commerce systems built on PHP
- Specific versions named by Sansec as confirmed vulnerable: Magento 2.4.9, WordPress 7.1.2, Drupal 11.4.3, Joomla 6.1.4, MediaWiki 1.46.2, Roundcube 1.7.4, phpMyAdmin 5.2.3, Nextcloud 35.0.1, Laravel 13.11 and Symfony 8.1
- Shared hosting platforms and control panels that bundle PHP, per the NCSC advisory
- Dutch government services DigiD and MijnOverheid, per Techzine
Scale of exposure: estimates vary
| Metric | Figure | Source |
|---|---|---|
| CVSS v4.0 severity score | 9.2 (official); unofficial leaked claims cited 10.0 | NCSC UK; The Hacker News |
| Internet-facing hosts on PHP 8.1 or older | ~884,000 (Shodan data, October 20) | The Hacker News |
| Internet-connected hosts described as at risk | ~1.3 million | Techzine |
| Earliest vulnerable code path | Traced to PHP 5.4.0 (2012) | Sansec |
What is known and what is not
PHP's team confirmed that PHP 8.2, 8.3, 8.4 and 8.5 would receive official fixes — expected as versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35, according to The Hacker News — while end-of-life branches 8.1 and earlier would not be patched by the vendor. Sansec, however, said the underlying flawed code dates back to PHP 5.4.0, meaning many older, unsupported installations likely remain vulnerable with no official fix available. According to The Hacker News, no public proof-of-concept exploit was available as of its October 21 report, and the flaws had not been added to CISA's Known Exploited Vulnerabilities catalog at that time — though Cloudflare's later statement indicated attack attempts were already under way.
Background: how the flaws were found
Sansec's timeline traces the first bug to research that began on August 1, 2026, by a researcher using the handle "Calif" working with OpenAI, who reported it to PHP's security team on August 11. A second, related report came from the Wiz Research team — named by Sansec as Sagi Tzadik, Shir Tamari, Nir Ohfeld and Tomer Schwartz — on August 24. Sansec said both research teams credited AI models with speeding up the work of finding and adapting exploits across PHP versions, with one researcher reportedly reaching working exploitation in about a week. Details of the coordinated, embargoed disclosure leaked publicly on October 20, prompting PHP to move up its announcement and set the October 21 patch release.
Questions
- What is PHP2Shell?
- PHP2Shell is the nickname researchers gave to an exploit chain combining two separate critical PHP bugs, CVE-2026-109618 and CVE-2026-109619, which together can let an attacker run code on a web server without logging in, according to The Hacker News and Sansec.
- Which PHP versions are affected?
- According to The Hacker News, PHP's vendor is releasing fixes for PHP 8.2, 8.3, 8.4 and 8.5. Sansec reported the vulnerable code pattern dates back to PHP 5.4.0, meaning older, end-of-life versions may also be exposed but will not receive an official vendor patch.
- Why did government websites go offline?
- Dutch and Finnish government agencies took sites offline as a precaution before the patch was ready, following guidance that, per Sansec, PHP core developer Gina Peter Banyard described as the most sensible option for organisations that could not patch immediately.
- Is the vulnerability being actively exploited?
- Cloudflare reported detecting early attack attempts on October 21 before PHP's official fix was released, according to Sansec and KSL. The Hacker News reported that, as of its report that day, no public proof-of-concept exploit was available and the flaws were not yet listed in CISA's Known Exploited Vulnerabilities catalog.
- Has a patch been released?
- PHP scheduled an out-of-cycle security release for 14:00 UTC on October 21, 2026, with fixed versions expected to include 8.5.12, 8.4.27, 8.3.36 and 8.2.35, per The Hacker News.
Sources
- NCSC UK — Critical security issue affecting PHP
- The Hacker News — PHP2Shell: Two Unpatched Critical PHP RCE Flaws
- Sansec — Critical PHP RCE: CVE-2026-109618 and CVE-2026-109619 (PHP2Shell)
- KSL — Cyber agency warns websites may go dark as PHP prepares critical fix
- Techzine — Serious vulnerabilities in PHP, emergency patches on the way
This piece was prepared with artificial intelligence and passed an automated source check before publication. If you see an error, ask for a correction. Request a correction or reply · How we make this
Related
TechnologyNews
Google Cloud Outage Disrupts UK Banks and NHS; Google Cites Power Failure, Not a Software Bug
A Google Cloud outage on 20 October 2026 knocked out services for UK banks including Lloyds, HSBC and Revolut, plus NHS England, Royal Mail and other sites, after a power failure hit a London-region data-center zone. Google said the roughly eight-hour disruption was caused by this power event, not a software vulnerability; a separate critical PHP security flaw disclosed the same week is unrelated to this incident, according to the sources reviewed.

TechnologyNews
EU Opens Formal Digital Services Act Probe Into Booking.com Over Scams and Fake Listings
The European Commission has opened a formal investigation into Booking.com under the EU's Digital Services Act, examining whether the platform did enough to stop fraudulent listings and phishing scams that exploit guest data. The probe also looks at whether paid "boosted" listings are clearly labeled as advertisements. It is the first formal DSA case brought against Booking.com.
TechnologyNews
Cyberattack Takes Food Lion, Hannaford Sites Offline for More Than a Week
A cybersecurity incident at Ahold Delhaize, parent company of Food Lion, Hannaford, Stop & Shop and Giant Food, knocked websites, apps and online ordering offline across the US starting October 11-12, 2026. Physical stores stayed open throughout, and the company says it has found no evidence customer data was stolen, though some US digital services were still being restored more than a week later.

TechnologyArticle
Meta's AI Spending Surge: How Capex Growth Is Squeezing Profitability
Meta has raised its 2026 artificial-intelligence infrastructure spending guidance three times, from an initial $115–135 billion to as much as $130–145 billion, nearly double the $72.2 billion it spent in 2025. The buildout pushed free cash flow near breakeven in the second quarter and triggered sharp share-price drops, setting up heightened investor scrutiny ahead of Meta's third-quarter 2026 results on October 21.