LIVE
BREAKING
COP31: Türkiye Launches Antalya Action Plan to Fight Forest Fires TogetherFourteen Killed, 30 Injured in Fujairah Pile-Up Involving 23 VehiclesCOP31 Finance Day: Waste Pickers Demand Climate Money Reaches Them, Not IncineratorsTen Police Officers Killed in Militant Ambush in Pakistan’s Kohat DistrictCOP31: Workers’ Just Transition Mechanism Takes Shape as Talks Show Early Progress in AntalyaZelenskyy Makes History as First Foreign Head of State to Address Denmark’s ParliamentUK Economy Grows 0.7% in Third Quarter as AI Demand Lifts OutputOxford Returns 39 Naga Ancestral Remains to India After More Than a CenturyHubSpot Co-Founder Brian Halligan Returns as CEO as Yamini Rangan Steps DownFLS Launches Accelerate ’31 Strategy With New 2029 Growth and Margin TargetsBest Seaside Escapes for Winter Sun: Beaches, Islands and Coastal Cities to Visit This WinterNvidia CEO Jensen Huang Resigns Amid Spy Scandal as Shares PlungeSouth Asian Climate Journalists Meet at COP31 and Demand Pledges Turn Into ActionOne Killed and Four Injured in Washington DC Gym ShootingCOP31 Launches Global Zero Waste Alliance to Bring Sustainable Living Into Daily LifeMeloni Urges Unity as Hoax Bomb Threats Disrupt Italian Schools AgainEight Killed in Brooklyn Building Collapse as Rescuers Search RubbleTrump Warns Mexico of Doubled Tariffs Unless Migrant Caravan Is StoppedManchester United Sack Michael Carrick as Pochettino Move NearsCOP31: New Clean Energy Deal Hub to Speed Up Solar Deals Across Asia-PacificCOP31: Türkiye Launches Antalya Action Plan to Fight Forest Fires TogetherFourteen Killed, 30 Injured in Fujairah Pile-Up Involving 23 VehiclesCOP31 Finance Day: Waste Pickers Demand Climate Money Reaches Them, Not IncineratorsTen Police Officers Killed in Militant Ambush in Pakistan’s Kohat DistrictCOP31: Workers’ Just Transition Mechanism Takes Shape as Talks Show Early Progress in AntalyaZelenskyy Makes History as First Foreign Head of State to Address Denmark’s ParliamentUK Economy Grows 0.7% in Third Quarter as AI Demand Lifts OutputOxford Returns 39 Naga Ancestral Remains to India After More Than a CenturyHubSpot Co-Founder Brian Halligan Returns as CEO as Yamini Rangan Steps DownFLS Launches Accelerate ’31 Strategy With New 2029 Growth and Margin TargetsBest Seaside Escapes for Winter Sun: Beaches, Islands and Coastal Cities to Visit This WinterNvidia CEO Jensen Huang Resigns Amid Spy Scandal as Shares PlungeSouth Asian Climate Journalists Meet at COP31 and Demand Pledges Turn Into ActionOne Killed and Four Injured in Washington DC Gym ShootingCOP31 Launches Global Zero Waste Alliance to Bring Sustainable Living Into Daily LifeMeloni Urges Unity as Hoax Bomb Threats Disrupt Italian Schools AgainEight Killed in Brooklyn Building Collapse as Rescuers Search RubbleTrump Warns Mexico of Doubled Tariffs Unless Migrant Caravan Is StoppedManchester United Sack Michael Carrick as Pochettino Move NearsCOP31: New Clean Energy Deal Hub to Speed Up Solar Deals Across Asia-Pacific
Slider Main

PHP2Shell Critical Flaw Forces Government Websites Offline as Emergency Patches Roll Out

News Desk 6Published October 21, 2026
PHP2Shell Critical Flaw Forces Government Websites Offline as Emergency Patches Roll Out
Share this story

Two critical security flaws in PHP, the programming language behind a large share of the internet, forced government websites in Europe offline on Wednesday as emergency patches were released. The flaws, nicknamed PHP2Shell, allow an attacker to run code on a web server without logging in, and developers and governments alike urged website operators to update immediately.

PHP released fixed versions on Wednesday, October 21, at 14:00 UTC, a day earlier than planned, after details of the flaws leaked. The US cybersecurity agency CISA issued an urgent alert the same day, and the White House said it was working to speed the fix out to users and protect American networks and critical infrastructure.

FAKTA

  • Flaws: CVE-2026-109618 and CVE-2026-109619, jointly nicknamed PHP2Shell
  • Severity: 9.2 out of 10 on the CVSS v4.0 scale for each flaw
  • Risk: Unauthenticated remote code execution on PHP installations serving web requests
  • Fixed versions: PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, released on October 21, 2026
  • Reach: PHP runs nearly 70 percent of websites whose programming language can be identified, and powers WordPress, which runs about 40 percent of all websites
  • Official advice: Update immediately; systems that cannot be updated should be taken offline until they can be patched

PHP2Shell critical flaw: what went wrong

The PHP2Shell critical flaw is not a bug in a single website, plugin or app. It sits in PHP itself, the software running underneath websites, so a carefully secured site can still be exposed through the PHP version its server runs. According to the PHP security advisories, one flaw lets out-of-memory handling corrupt a request that is only partly set up, while the other lets request data survive after its memory is freed, so a later request handled by the same worker can read the stale state.

The PHP team described the risk as highest for servers running Apache with mod_php, where a demonstrated exploit lets an unauthenticated request trigger the attack before any website code runs. PHP-FPM, php-cgi, FrankenPHP and LiteSpeed deployments are also at risk. Security researchers said there is no generic configuration change that fully fixes the problem: updating is the only complete remedy, although a web application firewall can offer partial protection in the meantime.

Government websites taken offline as a precaution

Several government, school and hospital websites in Europe were taken offline on Wednesday as operators raced to protect themselves. The Dutch government was among those that took sites offline as a precaution, and Germany’s federal IT service provider, ITZBund, temporarily deactivated several websites, saying the move was purely preventive and that no security incidents were known to have occurred.

The European Union’s cybersecurity response team, CERT-EU, had warned that organisations unable to apply the fixes in time should consider taking affected sites offline. The US National Security Agency gave similar advice, urging organisations using PHP to be prepared for the update and to take systems offline until fully mitigated if they could not update immediately.

Computer code on a laptop screen illustrating the PHP2Shell critical flaw
Code on a developer’s screen. The PHP2Shell flaws sit in PHP itself, beneath individual websites and apps.

Patches land a day early after details leak

The coordinated disclosure had originally been planned for October 22, but details of the two flaws leaked on October 20, forcing an accelerated release. The PHP developers published the fixed versions on Wednesday afternoon UTC and strongly encouraged users to update immediately. Organisations using Linux distributions or long-term support services were told to check their vendors for updated packages, including fixes adapted for older versions.

PHP 8.1 and older branches receive no official fixed release, although the PHP team published source backports for versions 7.4, 8.0 and 8.1 for vendors to adapt. Cloudflare, which filters web traffic for many sites, said it was seeing early attack attempts and switched on firewall rules as a stopgap, while CISA said it had not observed exploitation at the time of its alert and Australia’s cyber agency said it was not aware of active exploitation.

What website owners should do now

CISA urged organisations to inventory every system running PHP, apply the patch immediately with internet-facing systems first, and watch for suspicious activity such as PHP worker processes launching shells or downloading tools. Organisations that cannot update right away, or that still run PHP 8.1 or earlier, should take their PHP-based systems offline until they can be patched or updated.

The White House said the flaw was discovered with the help of artificial intelligence technology and that the administration, notified on October 16, was working with federal agencies and AI companies to expedite the release of the fix. For ordinary visitors, the flaw is a server-side problem: simply visiting a website does not put a personal computer or phone at risk, but site owners were warned to expect fake mirror links and bogus patch downloads exploiting the confusion.

More coverage of major technology stories can be found in Watan News International’s technology news section.

Related Stories

Planet & environment

Climate & Sustainability

News, stories and solutions driving change towards a greener and more sustainable planet for future generations.

COP31: Türkiye Launches Antalya Action Plan to Fight Forest Fires Together
Featured story

COP31: Türkiye Launches Antalya Action Plan to Fight Forest Fires Together

Türkiye has launched the Integrated Fire Management Antalya Action Plan at COP31, inviting all countries to join a shared fight against forest fires as heat and drought make blazes more frequent.

Read full story

GREEN JOURNALISM

Every Action Counts

Small steps today, big impact tomorrow.

Explore more stories