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.
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

Confirm the installed version
Run php -v on the server and check the PHP package version in your package manager. On shared hosting, check your control panel or ask your provider.

Identify how PHP runs
Note whether each site uses PHP-FPM, Apache mod_php, php-cgi, FrankenPHP, or LiteSpeed. Every one of these needs the fix.

Find the right update
Use PHP 8.5.12, 8.4.27, 8.3.36, or 8.2.35, or the patched package listed in your vendor's security notice.

Apply the update and restart
Restart PHP-FPM, Apache, LiteSpeed, or the relevant service so every worker loads the fixed version.

Test your applications
Confirm that key pages, logins, and checkout flows work after the update.

Validate the fix
Recheck the installed package on each server and run the checker again.
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 = 0Frequently Asked Questions
Frequently Asked Questions
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.
