PHP2Shell vulnerability checker
Check if a website runs PHP affected by PHP2Shell (CVE-2026-109618, CVE-2026-109619). Enter a domain to read its public PHP signals.
Security report
One homepage request
Sent from our server like a browser visit. No ports are scanned and nothing is exploited.
Detect PHP
X-Powered-By and Server headers, PHP session cookies and platforms such as WordPress or Laravel.
Compare with the fixes
A disclosed version is compared with 8.5.12, 8.4.27, 8.3.36, 8.2.35. A hidden one can be confirmed by hand.
This reads one public homepage response. It does not scan ports, request other paths or send exploit payloads. Many servers hide the PHP version and a CDN can hide PHP entirely, so “not detected” is not proof. Distribution builds can contain a backported fix behind an older version string.
At a glance
Fixed PHP versions
Released 21 October 2026. Any version at or above the fixed release on its line includes the fixes; older lines need an upgrade.
| Release line | First fixed version |
|---|---|
| 8.5 | 8.5.12 |
| 8.4 | 8.4.27 |
| 8.3 | 8.3.36 |
| 8.2 | 8.2.35 |
| 7.4 – 8.1 | No official fix: upgrade |
2 vulnerabilities
- criticalCVE-2026-109618Remote code execution through memory corruption when PHP runs out of memory while building a request
- criticalCVE-2026-109619Remote code execution through stale global state reused by a later request on the same worker
From input to output
How to use it
Updated · checked against the cited advisories
Check whether a website runs PHP affected by PHP2Shell, the two critical remote code execution vulnerabilities CVE-2026-109618 and CVE-2026-109619 fixed on 21 October 2026. Enter a domain: we read its public PHP signals and compare any disclosed version with PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12. A hidden version can be confirmed with php -v. No account is needed.
- Enter the website address. We request its homepage once, as a browser does.
- We read public signals such as the X-Powered-By and Server headers, session cookies and platform markup, and compare any disclosed PHP version with the fixed releases 8.2.35, 8.3.36, 8.4.27 and 8.5.12.
- If the site hides its version, as a hardened server should, enter the output of php -v from the server to complete the check.
What is PHP2Shell?
PHP2Shell is the name given to two critical vulnerabilities in PHP itself, fixed on 21 October 2026. CVE-2026-109618 occurs when PHP runs out of memory while building a request and leaves half-built data for its cleanup code to trust. CVE-2026-109619 lets a PHP worker reuse stale state from an earlier request. Both are rated 9.2 under CVSS v4.0 and can lead to remote code execution.
Because the flaws sit in the PHP runtime, they are reachable before application code runs; login checks and input filtering in your application do not block them. Servers running PHP through Apache mod_php, PHP-FPM, php-cgi, FrankenPHP or LiteSpeed are in scope. CISA added CVE-2026-109618 to its Known Exploited Vulnerabilities catalogue on 26 October 2026, and the Canadian Centre for Cyber Security reports that both are exploited in the wild.
Which PHP versions are affected and fixed?
Every supported branch is affected before its fixed release: PHP 8.2 before 8.2.35, 8.3 before 8.3.36, 8.4 before 8.4.27 and 8.5 before 8.5.12. PHP 7.4, 8.0 and 8.1 are also affected but are outside the PHP project’s support window, so no official release fixes them; the project published minimal source backports, and some distributions and LTS vendors ship patched packages. PHP 7.3 and older have no fix.
Distribution packages from Ubuntu, Debian or Red Hat can contain a backported fix while still reporting an older upstream version, such as 8.1.2-1ubuntu2.x. The checker marks these as needing a vendor check instead of guessing. Also check the PHP that actually serves web requests: php -v reports the command-line binary, which can differ from the PHP-FPM pool or Apache module.
How the website check works
The checker requests the homepage once from our server, as a browser does, and follows up to three redirects. It reads the X-Powered-By and Server headers, which reveal the exact PHP version when expose_php is on, and looks for PHP session cookies, Laravel encrypted cookies and platform signals from WordPress, Drupal, Magento and other PHP applications. It does not scan ports, request other paths or send exploit payloads.
A disclosed version gives a direct result: vulnerable, patched, end of life or a distribution build to verify. Most well-configured servers hide the version; the checker then reports that PHP was detected and asks for the php -v output to finish the check. When no PHP signal is found, a CDN, reverse proxy or static front end may still hide a PHP back end.
What to do after the PHP2Shell check
Upgrade each affected server to the fixed release for its branch, then restart every PHP-FPM pool and Apache, FrankenPHP or LiteSpeed worker so no process keeps the old code. The PHP project states that there are no complete mitigations and that updating is the only safe choice.
If an upgrade has to wait, the PHP advisory lists interim measures that reduce exposure without fixing it. For CVE-2026-109619 it describes disabling session.upload_progress.enabled and, on PHP 8.5, fatal_error_backtraces, loaded before request parsing. For CVE-2026-109618 it describes enforcing memory_limit at the administrator level together with frontend request-size and container memory limits. Read the advisory before applying them, and isolate internet-facing applications that cannot be patched.
A separate PHP vulnerability, CVE-2026-115560, was reported on 23 October 2026 and is not addressed by the 21 October releases. It needs an uncommon combination of configuration and application behaviour; disabling session.upload_progress.enabled is the published interim measure. A patched PHP2Shell result does not cover it.
Measurement and usage limits
This reads one public homepage response. It does not scan ports, request other paths or send exploit payloads. Many servers hide the PHP version and a CDN can hide PHP entirely, so “not detected” is not proof. Distribution builds can contain a backported fix behind an older version string.
Frequently asked questions
- Is my PHP version vulnerable to PHP2Shell?
- It is if it is older than the fixed release for its branch: 8.2.35, 8.3.36, 8.4.27 or 8.5.12. PHP 7.4, 8.0 and 8.1 are affected without an official fixed release, and PHP 7.3 and older have no fix. Distribution builds need a check of the vendor advisory, because backports keep the older version number.
- How do I find the PHP version my website really uses?
- Enter the domain in this checker: if the server sends an X-Powered-By or Server header with the version, it is read automatically. Otherwise run php -v on the server for the command-line version and php-fpm -v for the FPM pool, or open a temporary phpinfo() page from a protected path and remove it afterwards.
- Does upgrading PHP fix PHP2Shell without a restart?
- No. Running PHP-FPM, Apache, FrankenPHP and LiteSpeed workers keep the code they started with. Restart every worker and pool after installing the fixed packages, and rebuild container images that pin an older PHP tag.
- Is CVE-2026-115560 fixed by the same update?
- No. The Canadian Centre for Cyber Security reports that CVE-2026-115560 is a separate remote code execution issue that the 21 October releases do not address. It affects an uncommon configuration; follow php.net for its fix and consider disabling session.upload_progress.enabled meanwhile.
- Does this PHP2Shell checker attack or scan my server?
- No. It makes one ordinary request for the public homepage and reads what the response already discloses. It sends no exploit, scans no ports and cannot see your configuration or installed patches, so a patched result is not a full security audit.
- Why does the checker say the PHP version is hidden?
- Because the server does not send it, which is good practice: expose_php = Off removes the version from X-Powered-By. The checker still reports PHP when cookies or platform signals reveal it. Enter the php -v output from the server to finish the check on your device.
- Is this tool free and do I need an account?
- It is free to use without an account. Domain checks have request limits to protect public services. Results can be downloaded from this page.
- Where is my input processed?
- Checks run on our server and contact public DNS, registry, website or Ahrefs services as needed. Results can be cached; inputs are not added to your URL or account. Do not submit private addresses or secrets.