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

TechnologyComparison
PlayStation 5 Pro vs a Matching Gaming PC: Price and Performance Compared
Sony launched the PlayStation 5 Pro at $699.99 in November 2024, but according to Engadget's reporting its US price had climbed to roughly $900 by April 2026, and one October 2026 SlashGear estimate puts it near $1,580. A PC built around the GPU and CPU that benchmarkers consider closest to the console costs roughly $1,050 to $1,530 depending on the parts chosen, according to SlashGear and BGR testing.
TechnologyNews
Two Critical PHP Flaws Dubbed "PHP2Shell" Expose Most of the Web
Two critical PHP vulnerabilities nicknamed "PHP2Shell" let attackers run malicious code on web servers without logging in, according to the security firm that found them. Patches for CVE-2026-109618 and CVE-2026-109619 shipped on October 21, 2026, months after researchers first reported the bugs, and multiple firms have since logged exploitation attempts in the wild.

TechnologyList
Best Android Apps and Utilities You Can Get Outside Google Play Store
Android users are not limited to Google Play: the open-source repository F-Droid, the anonymous Google Play client Aurora Store, the update tracker Obtainium, and the Shizuku-based catalog ShizuStore all distribute apps that the official store does not list or allow. Here are nine stores and utilities worth knowing, based on their own listings and reporting from MakeUseOf and Pocket-lint.
TechnologyArticle
PHP2Shell: the two critical PHP flaws that pushed governments offline
PHP2Shell is the nickname for two critical, unauthenticated remote-code-execution flaws in the PHP programming language — CVE-2026-109618 and CVE-2026-109619 — disclosed on 20–21 October 2026. Because PHP powers a very large share of the world's websites, the flaws led several governments to take public sites offline as a precaution. The official fix is upgrading PHP; interim server-side mitigations exist, but there is little an individual reader can do beyond watching for breach notices and using strong, unique passwords.