Emergency PHP Patches Released as Agencies Urge Sites to Upgrade or Go Offline

Racks of servers in a data centre
  • Homepage
  • >
  • Science
  • >
  • Emergency PHP Patches Released as Agencies Urge Sites to Upgrade or Go Offline

Cybersecurity agencies on both sides of the Atlantic spent Wednesday urging organisations to patch or switch off, after the PHP project released emergency fixes for two flaws in the scripting language that runs most of the web. The vulnerabilities, tracked as CVE-2026-109618 and CVE-2026-109619 and known collectively as PHP2Shell, allow unauthenticated remote code execution on almost any PHP installation that serves web requests.

The patches arrived at 13:30 UTC on 21 October in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, according to CERT-EU’s advisory. Both flaws carry CVSS scores of 9.2. The first stems from memory corruption when PHP aborts a request that exceeds its memory limit; the second from stale internal state that can survive one request and be picked up by the next. The PHP security team said the risk is highest for mod_php setups, where a demonstrated exploit can be triggered by a single unauthenticated request before any application code runs.

The reach of the problem follows from PHP’s share of the web. PHP powers something like 75% of websites, and Wordfence warned that every WordPress site is exposed, given the platform runs on PHP and powers more than 40% of the internet, as The Verge reported. Estimates of affected hosts ranged from 1.3 million internet-connected machines, cited by Cybersecurity Dive, to more than 22 million according to Palo Alto Networks. Cisco estimated that roughly half of internet-facing PHP instances are too old to receive the fix at all, which is why the advice from CISA and the UK’s National Cyber Security Centre includes an unusual instruction: if you cannot patch, take the system offline.

The race to fix PHP security issues reported by The Times began before the patches were even published. Cloudflare CTO Dane Knecht confirmed the company was already observing early attacks and deployed temporary firewall rules. GrapheneOS took its discussion forum offline preemptively. The governments of Finland and the Netherlands’ House of Representatives disconnected sites during Wednesday, Cybersecurity Dive reported.

There is a specific wrinkle for the millions of small businesses on shared hosting or content management platforms. The fix cannot be applied through a site’s own automatic updates; someone responsible for the server has to apply it, which is why agencies told organisations to inventory where PHP hides. It often sits inside commercial products that users never think of as PHP, and a hosting provider’s patch window now decides whether a bakery’s website becomes a botnet member.

The CISA alert noted the agency had not observed mass exploitation at the time of publication, but proof-of-concept code is circulating and researchers at Sansec expected mass attacks within minutes of full disclosure. For ordinary website owners the practical lesson is unglamorous: find out who runs your server, and ask them today what version they are now on.

Share Article
Facebook
LinkedIn
X
Harley Street-trained psychotherapist moves his practice to Poland to treat British expats online
DoorDash to buy Instacart in $17bn deal, its largest takeover to date
Hundreds of GP practices lose online services as provider Silicon Practice collapses
Secret Link