PHP2Shell Checker.
php.net has released PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12 to fix two critical remote-code-execution flaws. Check which PHP version your site advertises and whether it is older than the fix.
Passive check on sites you own. One GET of your public homepage, never an exploit. Fixed in PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12 (php.net, 21 Oct 2026); every earlier release is affected.
Why PHP2Shell Matters.
A Runtime Flaw Reaches Every App On It
PHP runs content management systems, shops, forums and custom apps. A flaw in the language runtime itself is not limited to one plugin or one product, so everything on an affected server shares the exposure.
A Fix Date Is Also A Starting Gun
php.net released the fix on 21 October 2026 in PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12, for two vulnerabilities rated CVSS v4.0 9.2. Now that the fix is public, attackers can study what changed, so the window to upgrade is short.
Hidden Does Not Mean Patched
Many sites switch off the PHP version banner. That hides the number from scanners, not the flaw from attackers. Check the real version on the server rather than assuming a quiet header means a safe site.
Old Branches Get No Fix
PHP 8.1 and older are end of life. No official fix will ship for them, so the only real remedy is moving to a supported branch. Distribution packages may backport fixes, so confirm with your vendor.
How The Check Works.
- 01
Enter Your Site
Type the domain, IP, or URL of a site you own. The check reaches the public homepage exactly as a browser would.
- 02
Run The Check
We make one GET request and read the PHP version the server advertises in its response headers, then compare it with the PHP2Shell fix. When the version is hidden, the page itself still shows whether PHP runs behind it. No exploit is ever sent.
- 03
Read The Verdict
See the version we read, whether it falls in the affected range, the CVEs in scope, and a clear next step. If the version is hidden we say so plainly.
FAQ
Common Questions.
PHP2Shell is the nickname for two PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619, both rated CVSS v4.0 9.2, that php.net's advisories describe as unauthenticated remote code execution. php.net fixed them on 21 October 2026 in PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Every earlier release is affected, including end-of-life branches, which get no fix.
Reports describe a wide range of PHP versions as affected. At time of writing (21 October 2026) the latest releases before the fix, 8.2.34, 8.3.35, 8.4.26 and 8.5.11, are treated as unfixed, and end-of-life branches (8.1 and older) are affected with no official fix coming. The fixed versions are announced by php.net with the release, so check there for the exact numbers.
At time of writing (21 October 2026) there is no confirmed in-the-wild exploitation and no public proof of concept. That can change quickly after a fix ships, so plan the upgrade now rather than waiting for exploit news.
It makes one ordinary GET request to your public homepage (HTTPS first, HTTP if that fails) and reads the PHP version the server advertises in its response headers, such as X-Powered-By or Server. When the version is hidden, it still looks for signs of PHP in what the page returns, such as a WordPress or Drupal site, PHP framework cookies or links to .php pages, and tells you if a CDN in front of the site hides the version. It never sends a POST, an upload or any exploit or trigger request, and it only reads what any visitor's browser receives. Only check sites you are authorised to test.
No. Many sites hide the version with expose_php = Off, and this tool cannot see a hidden version or confirm exploitability. A hidden version is not a patched version. Run php -v on the server, or ask your host, and upgrade to the fixed release for your branch.
No. Distribution packages (versions like 8.3.6-1ubuntu1.2, or the stock 5.4.16 of CentOS 7) often receive backported fixes without changing the upstream version number. When the number is before the fix and the build looks like a distribution package, the tool does not call it vulnerable or patched: it shows Distribution Build, Fix Unconfirmed and points you to your vendor's security tracker (Debian, Ubuntu or Red Hat) for CVE-2026-109618 and CVE-2026-109619. Only a distribution build whose number is at or after the fixed version is shown as patched.
Upgrade to PHP 8.2.35, 8.3.36, 8.4.27 or 8.5.12, or move off an end-of-life branch; php.net says updating is the only complete fix. Until then its advisories list partial mitigations: set session.upload_progress.enabled = 0 (and fatal_error_backtraces = 0 on PHP 8.5), restart every PHP worker, keep post_max_size small and limit request size at the edge. Hiding the version with expose_php = Off stops advertising it but does not fix anything.
One Site Checked. See Your Whole Edge.
This tool reads one site's PHP version. The Brandefense platform inventories every internet-facing system you run, flags new CVEs as they land, and keeps watch over your external attack surface without a break.
Request A Demo