The UK government has taken 32 online services offline after a critical flaw in the PHP programming language was discovered.

PHP underpins roughly 70% of the world’s websites, and cybersecurity firms report a surge of millions of exploitation attempts since the vulnerability was publicised earlier this week. The US National Security Agency warned that the defect could let attackers seize control of web servers, exfiltrate data and cripple digital services.

"The flaw could allow attackers to take control of web servers, steal data and disrupt services," the agency said.

Scale of the Threat

Security researchers say the weakness, identified in a core library used to process web requests, enables remote code execution when specially crafted input is supplied. Within hours of the advisory, automated scanners began probing public-facing sites, flooding logs with suspicious traffic. The rapid spread mirrors past PHP incidents, such as the 2022 “log4shell”‑style bug that forced organisations worldwide to suspend operations.

Because PHP is embedded in content‑management systems, e‑commerce platforms and government portals, the exposure is unusually broad. Analysts at a leading cyber‑defence firm estimate that up to half of the affected sites could be vulnerable if they have not applied the latest patches.

Government Response

Officials from the Government Digital Service (GDS) confirmed that they have isolated the affected applications and are working round‑the‑clock to roll out mitigations. “We have temporarily disabled 32 services while we verify that patches are correctly applied,” a spokesperson said on Tuesday. The list includes the tax credit calculator, the small‑business grant portal and several public‑health dashboards.

Public‑sector IT teams are deploying emergency updates across data centres in London, Manchester and Edinburgh. Users attempting to access the affected sites have encountered generic “service unavailable” messages, prompting a surge in call‑centre enquiries. In one regional office, staff were seen manually restarting servers as the patch package was distributed.

Implications for the Wider Internet

Beyond the immediate disruption, the flaw highlights the systemic risk of relying on a single, widely used codebase. The UK’s National Cyber Security Centre (NCSC) has issued a bulletin urging all public and private operators to audit their PHP installations and apply the vendor‑supplied fix within 48 hours.

Companies that host customer‑facing applications are scrambling to update their stacks, with some large e‑commerce platforms announcing scheduled maintenance windows. The vulnerability also coincides with the Office for National Statistics releasing its latest gender‑pay‑gap figures, a reminder that the same digital infrastructure underpins both economic data and everyday services.

For now, the priority remains patching the existing code, a task that could take several days for legacy systems still running outdated PHP versions.

As the patch rollout continues, the government has pledged to publish a post‑mortem report detailing the incident’s timeline and the steps taken to prevent a recurrence. The next update from GDS is expected later this week, when officials will confirm whether the remaining services have been restored.