PHP2Shell vulnerability fix: the PHP 8.5.12 update, and none for 8.1

By Prakhar Shahi

Published · Updated

Flow chart: AI finds two PHP flaws, exploit attempt 17 Oct, fix announced 20 Oct, PHP 8.5.12 patch 21 Oct, update or isolate

Two critical PHP flaws found with AI help pushed European government sites offline. The fix is out for four PHP versions, but sites on PHP 8.1 or older get no direct update. What to install, and what CERT-In advises.

Original report · Explained

The PHP2Shell vulnerability fix is a PHP update. PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, released at 14:00 UTC on 21 October 2026, close two critical flaws, Gulf News reported; PHP 8.1 and older get no direct update, though some vendors may backport the fix (Gulf News, 2026).

The flaws, CVE-2026-109618 and CVE-2026-109619, both score 9.2 on the CVSS v4 scale. According to the UK's National Cyber Security Centre, they may cause memory corruption and let an attacker run code on a server without logging in (Gulf News, 2026). Inc42 reports they are believed to exist in every PHP version since PHP 5, released in 2004 (Inc42, 2026).

That is why government websites in Finland, the Netherlands, France and Denmark went offline as a precaution (The Irish Times, 2026; Deccan Chronicle, 2026). Which Indian government sites, if any, went offline is not stated in any report we read. See how every outlet covered it.

The PHP 8.5.12 update is the complete fix

"Applying the security update remains the complete solution," the PHP security team said (Gulf News, 2026). What that means by version:

A WordPress or any other site on an affected PHP version is exposed, and its owner should update PHP through the host, Inc42 says (Inc42, 2026).

Where updating is not possible, agencies advise a blunter step.

Agencies say isolate what cannot be patched

CERT-In, India's cyber-security agency, and the US NSA advised updating or isolating affected systems, Inc42 reported; we could not open CERT-In's advisory itself (Inc42, 2026). The EU's CERT advised isolating internet-facing apps until a fix is verified, and the NSA advised taking systems that cannot be patched offline (The Irish Times, 2026; Gulf News, 2026).

CERT-In also flagged a separate certificate problem this week, explained in eMudhra breach: India's DSC chain is separate from the 8 blocked certificates.

The urgency comes from how much of the web runs on PHP.

PHP runs most of the web

Up to 70% of the internet is supported by PHP, The Irish Times reported on 21 October (The Irish Times, 2026). W3Techs counts about 75% of identifiable websites on PHP, and Censys found 1.5 million of 2.6 million hosts on unfixed PHP versions, Deccan Chronicle reported; neither figure is dated (Deccan Chronicle, 2026). That is about 58% of the hosts Censys counted (1.5 ÷ 2.6).

"This issue impacts the majority of the internet," said Tiffany Farriss of the Drupal Association (Deccan Chronicle, 2026).

How flaws this old stayed hidden is the other half of the story.

AI tools found flaws that hid for years

AI tools helped find flaws that had gone unnoticed for years, and OpenAI says it led a coalition of researchers (The Irish Times, 2026; Deccan Chronicle, 2026). Amazon spotted an attempt to exploit them on a honeypot, a decoy server, on 17 October, before the patch was out (Deccan Chronicle, 2026).

Experts expect intrusions as attackers race to exploit the now-public fixes. "The vulnerabilities are of a very high severity," said cybersecurity expert Brian Honan (The Irish Times, 2026).

How the coverage split

The Irish Times led on scale, the 70% of the internet. Gulf News led on the two patches, Deccan Chronicle on government sites going dark, and Inc42 on the technical detail and the PHP2Shell name (The Irish Times, 2026; Gulf News, 2026; Deccan Chronicle, 2026; Inc42, 2026). None of the reports we read named an Indian site that went offline or quoted the CERT-In advisory's text.

What we don't know yet

Questions people are asking

What is the PHP2Shell vulnerability?

Two critical PHP flaws, scored 9.2 on CVSS v4, that can let an attacker run code on a server without logging in (Gulf News, 2026; Inc42, 2026).

Which PHP versions are safe?

PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.1 and older get no direct fix (Gulf News, 2026).

Is a WordPress site affected?

Any site on an affected PHP version is exposed; update PHP through the host (Inc42, 2026).

What does CERT-In advise?

Update or isolate affected systems (Inc42, 2026).

Why did government websites go offline?

As a precaution until they are patched, after the flaws were disclosed (The Irish Times, 2026; Deccan Chronicle, 2026).

More on this story

References

How we did this

On 22 October 2026 we read the PHP patch details reported by Gulf News, which cite the UK NCSC and the PHP security team, and Inc42's technical breakdown, and set the fixed versions against what agencies advise. We took the government outages and scale figures from The Irish Times and Deccan Chronicle, and searched for Indian sites that went offline but found none named. We could not open CERT-In's advisory. The hero image is a flow chart we drew from the reported dates; upload it with the story.

This story was produced, reviewed, edited and verified by the reporter before publication, with AI assistance where required.

Covered by 33 outlets across the spectrum: 15% left, 39% center, 45% right.

Who is covering this story

Sources

What an outlet bias classification means

More original reports

Related stories