PHP moved an out-of-cycle fix for two critical flaws to October 21 after a leak; older, unsupported branches may get no patch.
The PHP project scheduled an emergency security release for 14:00 UTC on Wednesday, October 21, to fix two critical vulnerabilities. Its security team has rated both flaws 9.2 out of 10 but has not explained how they work. PHP announced the release on the evening of October 20, after an anonymous online post revealed the bugs ahead of their planned disclosure. Researchers at security firm watchTowr say both flaws allow remote code execution, meaning an attacker could run their own commands on an affected server. The Hacker News reported the story in detail, and LWN.net told its readers that anyone running a PHP site should probably get ready to update.
The sequence of events moved quickly over about a day:
The leak exposed only that the flaws exist, a severity score, a date and two identifiers. It did not reveal the technical mechanics.
The honest answer is that nobody outside the embargo knows yet. PHP has said that full details, the affected versions and the fixed versions will come out with the release itself.
The claim that everything since PHP 5 is vulnerable came from the leak, and it has not been confirmed. watchTowr's own FAQ about the flaws says this scope has not been confirmed by an official vendor advisory. The FAQ also says no configuration or feature requirement has been described, so it is not known whether a particular setup is needed for a server to be at risk.
Whatever the affected range turns out to be, PHP issues fixes only for its four supported branches:
Several trackers, including Alpine Linux and security researcher Kevin Beaumont, expect the patched releases to be PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. These would be the next point release on each branch. PHP has not confirmed those numbers.
Older branches, including 8.1, 8.0, 7.x and 5.x, are end of life, which means PHP no longer maintains them. If the flaws do reach those versions, PHP will not ship a fix for them. Security company Mallory counted roughly 884,000 internet-facing hosts on October 20 whose web server banner reported PHP 8.1 or older to the Shodan search engine. That is about 59% of the approximately 1.5 million hosts that reported any PHP version. A further 740,000 hosts reported PHP without giving a version. Mallory's count is based on self-reported banners, so it does not confirm that any of those systems are actually vulnerable.
The sources do not single out any particular industry or region. Because PHP powers a very large share of websites and is bundled inside many other products, the potential reach is broad.
Technical details have not been published, so it is not possible to explain the exact mechanism. Here is what the available labels mean.
Remote code execution (RCE) is one of the most serious types of software flaw. It means an attacker who can reach a vulnerable system over a network may be able to make it run instructions of their choosing. On a web server, that could let an intruder read data, change the website, or use the machine as a foothold for further attacks. The nickname "php2shell" suggests this kind of outcome, where an attacker goes from PHP to a command shell on the server. However, the name is informal and is not a technical description from PHP.
PHP is a programming language that runs on web servers to build pages on the fly. It typically runs through components such as php-fpm or php-cgi, which work alongside web servers like Apache. That is why defenders are being told to watch for those processes behaving unusually.
PHP rates both flaws 9.2 on version 4.0 of the CVSS scale. CVSS is the Common Vulnerability Scoring System, the industry-standard 0 to 10 severity measure. The 10.0 figure that circulated online came from the leaked post, not from PHP. Where the two differ, PHP's own 9.2 rating is the authoritative one available. Researchers are using the identifiers CVE-2026-109618 and CVE-2026-109619, which also appeared in the leak, but PHP's notice does not name either one.
On exploitation, the sources agree that there are no signs of active attacks yet:
That calm may not last. When CVE-2024-4577, a flaw affecting PHP in CGI mode on Windows, became public in June 2024, Akamai recorded exploit attempts against its honeypot servers within 24 hours. Honeypots are decoy systems set up to attract attackers.
PHP has not published any workaround, so preparation is the main defence before the patch arrives. The steps below draw largely on guidance from Huntress and CERT-EU, the EU institutions' cybersecurity team.
ITVedas analysis: The leak shortened the window between public awareness and a patch, and PHP's choice to move first was sensible. The bigger risk is the huge number of servers still running unsupported PHP versions, which may never receive a fix from PHP at all.
Want to understand the technology behind this story? ITVedas has beginner-friendly guides on every IT topic.
Explore IT Chapters →