News Vulnerabilities & Zero-Days
Are you ready for the storm? PHP2Shell: two unpatched critical PHP flaws (CVSS 9.2) spark RCE fears for millions of websites
The PHP security team will release fixes for two critical vulnerabilities rated CVSS 9.2 on 21 October 2026 at 14:00 UTC. CERT-EU says they could allow remote code execution. PHP powers 69.3% of websites whose server-side language is known, so teams should prepare to patch now.
Key takeaways
- PHP will release fixes for two critical vulnerabilities, each rated CVSS 9.2, on 21 October 2026 at 14:00 UTC.
- CERT-EU lists them as CVE-2026-109618 and CVE-2026-109619 and says they could lead to remote code execution; PHP has not confirmed this.
- PHP is used by 69.3% of websites whose server-side language is known, according to W3Techs.
- About 48.5% of PHP websites run end-of-life versions that will not get official fixes, based on W3Techs data.
- No exploitation had been reported as of 20 to 21 October; teams should inventory PHP and book a patch window now.
The PHP security team announced on 20 October 2026 that it will publish a security release on Wednesday, 21 October 2026 at 14:00 UTC. The release fixes two critical vulnerabilities, both rated 9.2 on CVSS v4.0.
The team says "all PHP users are encouraged to prepare now so they can upgrade as soon as the release is available." It also says it may release earlier if details of either flaw become public or if there is evidence of active exploitation.
What do we know about the vulnerabilities? #
Very little so far, by design. The advance notice gives only the number of flaws and their severity. PHP says full details, affected versions and fixed versions will be published with the release. PHP's own notice does not name CVE identifiers.
| Detail | Status before release |
|---|---|
| Number of vulnerabilities | Two |
| Severity | Critical, CVSS v4.0 9.2 each |
| Release time | 21 October 2026, 14:00 UTC |
| Affected versions | To be published with the release |
| CVE IDs | Not named by PHP; CERT-EU lists CVE-2026-109618 and CVE-2026-109619 |
| Exploitation | None reported as of 20 to 21 October, per Huntress and watchTowr |
What is being reported beyond PHP's notice? #
Details have started to circulate before the official release. Security firm Huntress says a post on the Hacker News forum on the morning of 20 October claimed two critical PHP vulnerabilities were headed for disclosure. The post was taken down, but screenshots spread on social media. Researchers have nicknamed the pair "PHP2Shell"; the name does not come from PHP.
| Source | What it says |
|---|---|
| CERT-EU, advisory 2026-018 | Lists the flaws as CVE-2026-109618 and CVE-2026-109619, says they could lead to remote code execution and, citing a social media post, could affect all PHP versions from PHP 5 onwards |
| watchTowr | Describes both as remote code execution flaws, based on what it calls an unverified report, and says the scope has not been confirmed by an official vendor advisory |
| Huntress | Had seen no exploitation in its partner environments as of 20 October and was not aware of public exploit code |
None of these claims has been confirmed by PHP. Treat the affected version range and the remote code execution label as unverified until the official release.
CERT-EU advises immediate patching once fixes are out, and says organizations that cannot patch straight away should consider isolating internet-facing applications from public networks until a fix is available.
How many websites run on PHP? #
PHP is used by 69.3% of all websites whose server-side programming language is known, according to web technology survey W3Techs on 21 October 2026. That makes it by far the most common server-side language on the web, powering platforms such as WordPress, Drupal, Magento and Laravel applications.
This does not mean 69.3% of websites are vulnerable. Which sites are affected depends on the PHP versions and features involved, which PHP has not yet disclosed. What it does mean is that a very large share of the web will need to check whether it is affected once details are out.
How many PHP sites run versions that no longer get security fixes? #
PHP currently provides security fixes for four branches:
| Branch | Status | Security support ends |
|---|---|---|
| 8.5 | Active support | 31 December 2029 |
| 8.4 | Active support | 31 December 2028 |
| 8.3 | Security fixes only | 31 December 2027 |
| 8.2 | Security fixes only | 31 December 2026 |
Every older branch, including PHP 8.1, 8.0, 7.x and 5.x, is end of life and will not receive this fix.
W3Techs data shows how many sites that leaves behind. Among PHP websites, 27.0% use PHP 7, 7.7% use PHP 5 and 0.1% use PHP 4. Another 21.0% of PHP 8 sites run 8.0 or 8.1. Combining those figures, AppSecNews calculates that roughly 48.5% of PHP websites run a version that no longer receives official security fixes, and only about 51.5% run a supported branch. If the new flaws affect older code, those sites will have no official patch.
Internet scans point the same way. Threat intelligence firm Mallory counted 883,717 internet-facing hosts on 20 October whose Shodan banners reported PHP 8.1 or older, about 59% of roughly 1.5 million hosts that reveal a PHP version. About 740,000 more hosts reported PHP without a version. Mallory notes these are banner counts, not confirmed vulnerable systems, and that some Linux distributions backport fixes to older-looking versions.
Why does a pre-announcement matter? #
Once a fix is public, attackers can compare the old and new code to work out how to exploit the flaws. That makes the hours and days after the release the riskiest time for unpatched servers. The advance notice gives teams time to line up testing and maintenance windows before that clock starts.
What should PHP users do now? #
- Find every PHP installation. Check web servers, containers, CI images and command-line tools.
php -vshows the installed version. - Know your patch path. If you use a Linux distribution's packages, a hosting provider or container images, check when they plan to ship the fix. Some distributions backport security fixes without changing the main version number, so check their advisories rather than relying on
php -valone. - Book a maintenance window for shortly after 14:00 UTC on 21 October, and prepare to test the update on staging first.
- Plan upgrades for end-of-life versions. Sites on PHP 8.1 or older cannot rely on official fixes. PHP 8.2 also reaches end of life on 31 December 2026.
- Protect what you cannot patch. For end-of-life versions, Huntress suggests upgrading, taking the system offline or placing it behind a VPN or web application firewall.
- Watch for signs of attack. Huntress recommends alerting when PHP worker processes start shells, interpreters or download tools.
- Watch php.net for the release notes, affected versions and CVE IDs, and patch as soon as your testing allows.
This is a developing story. AppSecNews will update it with affected and fixed versions once PHP publishes the release.
Sources
- PHP advance notice of the critical security release, PHP
- CERT-EU advisory 2026-018: critical vulnerabilities in PHP, CERT-EU
- Huntress on the leaked PHP vulnerabilities, Huntress
- watchTowr FAQ on the PHP vulnerabilities, watchTowr
- Internet-facing hosts running older PHP versions, Mallory
- PHP supported versions and end-of-life dates, PHP
- Server-side programming language usage statistics, W3Techs
- PHP version usage statistics, W3Techs
- PHP 8 subversion usage statistics, W3Techs
Questions this raises
- When is the PHP security release?
- Wednesday, 21 October 2026 at 14:00 UTC, according to php.net. PHP may release earlier if details leak or exploitation is seen.
- Is my site affected?
- It is not known yet. PHP will publish affected and fixed versions with the release. Sites on end-of-life versions such as PHP 8.1 or older will not receive official fixes either way.
- Are these remote code execution flaws?
- CERT-EU and watchTowr say they could allow remote code execution, based on leaked reports. PHP's own notice does not describe the flaw type, so this is not yet confirmed.
- Are the flaws being exploited?
- Huntress had seen no exploitation in its partner environments as of 20 October, and watchTowr reported none in the wild as of 21 October.
- Are 69% of websites vulnerable?
- No. W3Techs says 69.3% of websites with a known server-side language use PHP, but which of them are affected depends on details PHP has not yet released.
- Which PHP versions still get security fixes?
- PHP 8.2, 8.3, 8.4 and 8.5. PHP 8.2 security support ends on 31 December 2026.
VulnerabilitySecurity UpdatePatch ManagementApplication SecurityOpen Source SecurityEnd of SupportPHP