Two critical security flaws in PHP, the programming language behind an estimated 70 percent of the world’s websites, have set off a worldwide rush to patch — or to pull sites offline entirely, The New York Times reports. The flaws, tracked as CVE-2026-109618 and CVE-2026-109619 and nicknamed “PHP2Shell,” allow an attacker to run code on a vulnerable server without any password at all.
The flaws were found with the help of AI tools — discovered by Ryan Austin of Calif using an advanced OpenAI model, the Wall Street Journal reports; OpenAI says it spent two months leading the fix effort alongside PHP’s developers. Patches were released on Wednesday, October 21 — brought forward after details of the flaws leaked. Cloudflare’s Matthew Prince said exploit attempts rose from thousands before the announcement to millions within hours.
Governments moved first and asked questions later: the United Kingdom reported 32 government services offline as a precaution, with the Netherlands, Finland, Japan, Brazil, France, Canada and Australia among the countries reported affected. The NSA and the FBI issued patch-or-offline warnings. The U.S. cybersecurity agency CISA said that, as of reporting, it had identified no confirmed successful breaches.
READ NEXT: A Personalized mRNA Vaccine Cut Melanoma’s Return By 42 Percent In The Largest Trial Yet
The technical picture, from the PHP project’s advisory and the researchers who found the flaws: both bugs carry a severity score of 9.2 out of 10. The first corrupts memory when PHP runs out of it mid-request — the emergency exit leaves request data half-initialized, and the shutdown code then treats that invalid data as real. The second lets internal state from one request survive after its memory is freed, to be picked up by a later request on the same worker. Researchers at Calif and at Wiz traced the vulnerable code back to PHP 5.4, released in 2012: fourteen years of PHP releases carry it. Wiz demonstrated unauthenticated remote code execution against the current WordPress, Drupal and Joomla container images; because the flaw is in PHP itself, every site on an unpatched version inherits it, however well the site itself is maintained.
Every way of serving PHP is in scope — PHP-FPM, Apache’s mod_php, php-cgi, FrankenPHP and LiteSpeed — and the project rates mod_php the highest risk, because a demonstrated exploit there fires on an unauthenticated request before any application code runs. OX Security, working from Shodan scan data, counts roughly two million PHP servers reachable on the public internet. The fixed versions, released October 21, are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35; branches at 8.1 and older get no official release, though the security team published minimal source backports for 7.4, 8.0 and 8.1. PHP’s position is that updating is the only safe choice: the settings that block some attack paths “do not make an installation safe.” Updating WordPress or its plugins does nothing — the fix is in the server software underneath.
The exploitation clock started before the fix existed. Amazon’s threat-intelligence team logged an attempt against its MadPot honeypots on October 17, four days before disclosure, and further attempts from several actors beginning at 02:00 UTC on October 21; Amazon now describes PHP2Shell as broadly exploited in the wild. watchTowr’s sensors report attempts; Hadrian reports exploitation at scale, mostly through PHP’s session-upload-progress path; and Cloudflare has switched on firewall rules for the flaws. The caveat, as of October 23: neither flaw is yet in CISA’s Known Exploited Vulnerabilities catalog, no confirmed compromise of a named organization has been publicly reported, and Sophos withdrew an early report of a successful compromise, saying it saw scanning and a small number of failed attempts. Payloads spotted on attacker infrastructure have been linked to a likely Mirai variant called Potassium, with no evidence yet that the PHP2Shell requests downloaded or ran them.
The Facts
- The flaws: CVE-2026-109618 / -619 (“PHP2Shell”) — unauthenticated remote code execution in PHP, the language behind ~70% of websites.
- The discovery: found with AI tools (an advanced OpenAI model); patches released October 21, moved up after a leak.
- The rush: Cloudflare saw exploit attempts jump from thousands to millions within hours of the announcement.
- The official line: NSA/FBI urged patch-or-offline; UK reported 32 services down as a precaution; CISA: no confirmed successful breaches yet.
Sources: The New York Times; the Wall Street Journal; Cloudflare; the PHP project; CERT-EU; Amazon threat intelligence.





Comments