Enviera

FREE TOOL

Is my PHP version patched for PHP2Shell?

Paste the output of php -v, the PHP Version line from phpinfo, or your Docker image tag. The checker compares it with the fixed releases in the PHP advisory for CVE-2026-109618 and CVE-2026-109619.

It runs in your browser. What you paste is not sent anywhere and not stored, and the checker never visits a website, so paste text, not an address.

If your PHP comes from Ubuntu, Debian or another distro

Distributions backport fixes into older version numbers, so a php -v that shows an "old" version doesn't by itself mean you're vulnerable. Examples listed as fixed for both CVEs:

  • Ubuntu 24.04: php8.3 8.3.6-0ubuntu0.24.04.13, even though the upstream number is 8.3.6
  • Debian 12 (bookworm): php8.2 8.2.35-1~deb12u1
  • Debian 13 (trixie): php8.4 8.4.27-1~deb13u1

Check the full package version against the Ubuntu or Debian security tracker, or ask your vendor.

Where to find your PHP version

php -v

Run it on the server over SSH. It shows the command-line PHP, and the web server can run a different one, so confirm with phpinfo too.

phpinfo

Upload a temporary file with a hard-to-guess name containing <?php phpinfo(); and copy the PHP Version line. Delete the file right after: it shows server details to anyone who knows the URL.

Docker

The FROM line in your Dockerfile, or the image line in your compose file, for example php:8.2.34-apache.

The fixed releases

From the php.net advisory of 21 Oct 2026. As of 24 October 2026 there is no newer PHP release.

BranchFixed in
8.58.5.12
8.48.4.27
8.38.3.36
8.28.2.35

8.1 and older: no fixed release from the PHP project

Not sure your site runs PHP at all, or which PHP serves it? Start with Am I affected by PHP2Shell?