Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Threat Center›php2shell
CVE-2026-109618 · CVE-2026-109619 · CVSS 9.2

php2shell
PHP engine RCE

An unauthenticated remote-code-execution flaw in the PHP interpreter itself, not a framework or plugin. It runs before your code does, which is why a clean application on a vulnerable engine is still exploitable. Below is the live global exposure.

80,488
unpatchable PHP hosts exposed
21
countries at high exposure
Global exposure
Shodan · 2026-10-22
High exposureModerateLow
Hover or tap a location. 80,521 unpatchable PHP hosts across 138 countries.
2,230,062
Exposed PHP hosts
version-disclosed
80,488
On unpatchable PHP
5.x / 7.x / 8.0 / 8.1
138
Countries affected
with unpatchable PHP
United States
Top exposure
27,118 unpatchable

Why a clean app doesn't save you

php2shell is the shared name for two critical bugs, CVE-2026-109618 (RCE via out-of-memory corruption) and CVE-2026-109619 (RCE via stale global state). Both are rated CVSS 9.2 and both give an unauthenticated attacker remote code execution.

The flaw lives in the PHP interpreter that parses the request, before any of your code runs. A clean, zero-dependency "Hello World" app on a vulnerable engine is still exploitable. That is why version inventory alone misses it.

Check if your server is vulnerable

The two vulnerabilities

RCE via OOM corruption CVE-2026-109618
PHP's longjmp out-of-memory bailout leaves request memory half-initialized; cleanup then runs over invalid state.
RCE via stale global state CVE-2026-109619
Request-owned state survives after its backing memory is freed; a later request on the same worker uses the stale pointer.
Fixed in
8.2.35 · 8.3.36 · 8.4.27 · 8.5.12
PHP 5.x / 7.x / 8.0 / 8.1 — no official fix

Exposed hosts by PHP version

Red branches (PHP 5.x, 7.x, 8.0, 8.1) are end-of-life and get no official php2shell fix. Roughly four in five PHP servers hide their version, so every count here is a floor.

PHP 5.x
52,238
PHP 7.x
21,731
PHP 8.0
5,839
PHP 8.1
680
PHP 8.2
223
PHP 8.3
135
PHP 8.4
26

Exposure breakdown

Where unpatchable PHP concentrates, and how this threat scores across the standard risk signals.

Top countries by unpatchable PHP

Internet-facing hosts on EOL PHP (version-disclosed)

Exposure by region

Share of unpatchable PHP hosts worldwide

Americas
31.0k38%
Asia-Pacific
24.5k30%
Europe
22.2k28%
Middle East & Africa
2.5k3%
Other
3980%

Threat scoring

As of 2026-10-22

CVSS v4.0
9.2
Critical
EPSS
Not scored
too new for EPSS
CISA KEV
Not listed
not in catalog
In the wild
Disputed
probing reported
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Is your server exposed?

Run the free php2shell scanner against a server you own. Crash-based detection, a verdict in seconds.

Open the php2shell scanner