PHP2Shell Vulnerability Checker

Find out whether your website reports a PHP version affected by CVE-2026-109618 and CVE-2026-109619, and what to do next.

PHP2Shell is the name given to two critical vulnerabilities in PHP that can allow unauthenticated remote code execution. PHP released fixes on October 21, 2026. The Digital Warfare PHP2Shell Vulnerability Checker sends one standard request to your website, identifies any PHP version the server publicly reports, and compares it with the fixed releases. You get a clear result, the evidence behind it, and practical next steps.

Check My Website View Remediation Steps

Free, with no account required. The checker never sends exploit code to your website.

PHP2Shell at a Glance

Topic Summary
What it is Two critical vulnerabilities in the PHP runtime
CVEs CVE-2026-109618 and CVE-2026-109619
Severity Critical, CVSS v4.0 9.2
Authentication required None
Who is affected PHP installations that serve web requests, including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP, and LiteSpeed
Fixed releases PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35
No official fix PHP 8.1 and earlier
What to do Update PHP and restart all PHP services

What to Do in the Next 24 Hours

What Is PHP2Shell?

PHP2Shell refers to two memory safety vulnerabilities in the PHP runtime itself, not in a plugin or application. Because the flaws sit beneath the application layer, any website served by an affected PHP installation may be exposed, whether it runs WordPress, WooCommerce, Magento, Shopware, or custom code.

PHP has stated that all installations serving web requests are at risk, with the highest risk for Apache mod_php. Successful exploitation can let an attacker run commands with the privileges of the PHP process, which may expose application data, credentials, and connected systems.

Running an affected version means a server needs updating. It does not confirm that the server has been compromised.

How the PHP2Shell Checker Works

Capability What it does
PHP version detection Reads publicly visible server information, such as the X-Powered-By response header, to identify a reported PHP version.
Fixed release matching Compares the reported version with the first fixed release for its PHP branch and flags branches that no longer receive fixes.
Evidence and confidence Shows where the version came from and how reliable it is, so you can judge the result yourself.
No exploit traffic Sends one standard request over HTTPS, falling back to HTTP only if needed. No attack payloads are used.

The checker evaluates only the address you enter. PHP running on other paths, subdomains, admin panels, or behind a content delivery network may not be visible to it.

Check Your Website for PHP2Shell

Enter a public website address to see whether it reports a PHP version affected by PHP2Shell.

This check relies on publicly visible version information. Many servers hide their PHP version, and vendors often patch PHP without changing the version number, so a result is an indicator, not a confirmation.

Affected PHP Versions

Every PHP release before the fixed version in each supported branch is affected.
PHP 8.1 and earlier are also affected and no longer receive official updates.
PHP branch Affected First fixed release Recommended action
PHP 8.5 Before 8.5.12 8.5.12 Update to 8.5.12 or later
PHP 8.4 Before 8.4.27 8.4.27 Update to 8.4.27 or later
PHP 8.3 Before 8.3.36 8.3.36 Update to 8.3.36 or later
PHP 8.2 Before 8.2.35 8.2.35 Update to 8.2.35, then plan an upgrade before PHP 8.2 reaches end of life on December 31, 2026
PHP 8.1 and earlier All versions No official release Upgrade to a supported branch, or install a patched package from your operating system or long-term support vendor

Backported patches: Linux distributions and hosting providers often add security fixes to their own PHP packages without changing the main version number. A distribution package may still report PHP 8.3.6 after receiving the fix. Always check your vendor's security notice and the installed package version.

Why PHP2Shell Matters to Enterprises

Unauthenticated remote code execution on a web server is among the most serious outcomes a vulnerability can have, because it requires no credentials and no user interaction.
  • Business-critical websites: an attacker who controls the server can alter content or take the site offline.
  • Customer-facing applications: portals and account systems hold credentials and personal data that become reachable from the server.
  • E-commerce: server-level access can be used to tamper with checkout pages and payment flows.
  • Sensitive information: database credentials and API keys in configuration files can expose systems beyond the web server.
  • Service availability: emergency patching, investigation, and rebuilds can interrupt operations even when no data is taken.
  • Regulatory and contractual obligations: a confirmed compromise of personal or payment data can trigger notification duties and customer reviews.
  • Response costs: investigating an exposed server takes specialist time and effort, far more than timely patching.

How to Remediate PHP2Shell

Check Your Servers
Commands to Confirm PHP on Your Servers
Capability What it does
Command-line PHP version php -v
Version used by PHP-FPM (can differ from the command line) php-fpm8.3 -v (use your installed version number)
Running PHP-FPM services systemctl list-units --type=service | grep -i fpm
Apache mod_php in use apachectl -M | grep -i php
Installed packages on Debian or Ubuntu dpkg -l | grep -E '^ii +php'
Installed packages on RHEL, Alma, or Rocky Linux rpm -qa | grep -i '^php'
PHP inside a container docker exec php -v
Windows servers php.exe -v

Compare the package version with your vendor's security notice. A distribution package can include the fix while still showing an older PHP version number.

Review Exposed Servers

If a server ran an affected version while reachable from the internet, review it for signs of compromise. Look for unexpected or recently changed files in web directories, unfamiliar scheduled tasks or user accounts, and unusual processes or outbound connections from the web server. If you find anything suspicious, isolate the server, preserve its logs, and engage incident response before rebuilding.

If You Cannot Update Immediately

Restrict access to the affected system or take it offline. PHP's advisory lists interim configuration changes, such as disabling session upload progress and restarting all workers. These reduce specific attack paths only. Web application firewall rules can help block known patterns but are not a substitute for the vendor fix.
; php.ini or PHP-FPM pool configuration, then restart all workers
session.upload_progress.enabled = 0

Frequently Asked Questions

Frequently Asked Questions

1What is PHP2Shell?
PHP2Shell is the name for two critical vulnerabilities in the PHP runtime, CVE-2026-109618 and CVE-2026-109619, that can allow unauthenticated remote code execution on servers running affected versions.
2What are CVE-2026-109618 and CVE-2026-109619?
They are two memory safety vulnerabilities in how PHP handles request data. Both are rated Critical with a CVSS v4.0 score of 9.2 and were fixed on October 21, 2026.
3Which PHP versions are affected?
All releases before PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35, plus all versions of PHP 8.1 and earlier.
4Will my PHP version get a fix?
PHP 8.2 and later have official fixes. PHP 8.1 and earlier do not, so upgrade to a supported branch or use a patched package from your operating system or hosting vendor.
5How can I check if my website is vulnerable to PHP2Shell?
Run the free checker to see whether your site reports an affected PHP version. For a definitive answer, run php -v on the server and confirm your vendor's patch status.
6What does the checker look at, and what does it not do?
It reads publicly visible server information from one standard request and compares any reported PHP version with the fixed releases. It does not attempt exploitation, log in, or inspect your server directly.
7Why is my result Unable to Determine?
Your server does not publicly report its PHP version. That is good practice, but it does not mean the server is patched. Check the version directly on the server.
8Can PHP2Shell affect WordPress websites?
Yes. WordPress, WooCommerce, Magento, Shopware, and other PHP applications are exposed if they run on an affected PHP installation, however well the application itself is maintained.
9Does hiding my PHP version protect my website?
No. Hiding the version prevents easy identification, but a vulnerable server can still be attacked. Only installing the fix removes the vulnerability.
10What can I do before I can patch?
Restrict access to the system, apply the interim configuration changes in PHP's advisory, and patch as soon as possible. Interim measures reduce risk but do not remove it.
11Is the Digital Warfare PHP2Shell Vulnerability Checker free?
Yes. The checker is free and requires no account.
12What should an organization do if it suspects exploitation?
Isolate the affected server, preserve web server and PHP logs, and engage incident response and forensics support before rebuilding.

Go Beyond a Version Check

A version check tells you whether a server needs an update. It cannot tell you whether an attacker reached your environment before you patched, or what else they could reach.

Digital Warfare's senior testers help organizations validate their exposure through web application penetration testing, vulnerability assessments, and continuous testing. If you suspect a server was compromised, our forensics and incident response team can investigate and support recovery.

Request a Penetration Test Talk to Incident Response Book a 20-Minute Call

 

Contact Us Now to Prepare
for Digital Warfare