Skip to content
PHP released the fixed versions on 21 October at 14:00 UTC. Update PHP on every server you run.CERT-EU advisory
php2shell.xyz
Fixed versions

Fixed PHP versions and images

PHP released the fix for PHP2Shell on 21 October 2026. This page lists the fixed versions and explains how to install them when PHP comes from a package, a container image or an application server that embeds PHP.

PHP 8.2
8.2.35
PHP 8.3
8.3.36
PHP 8.4
8.4.27
PHP 8.5
8.5.12

Each is the first release on its branch that fixes both CVE-2026-109618 and CVE-2026-109619. PHP 8.1 and older get no packaged release. There are only minimal source backports for PHP 7.4, 8.0 and 8.1, and some vendors have backported the fix themselves (see the page on PHP 8.1 and older). The fix status page lists which distributions, control panels and hosting companies have shipped it.

  1. PHPFix released

    PHP

    The fixed PHP versions for every supported branch, and how to update or build from source.

    How to update
  2. Container imageAction needed

    Official PHP Docker images

    Rebuild on the fixed php: tags. An image pinned by digest keeps the old, vulnerable binary.

    How to update
  3. Application serverAction needed

    FrankenPHP

    FrankenPHP embeds PHP, so update to, or build, a binary that bundles a fixed version.

    How to update
  4. Application serverAction needed

    Swoole and OpenSwoole

    Long-lived workers make stale-state bugs worse. Update PHP, rebuild the extension if needed, and restart.

    How to update
  5. Application serverAction needed

    RoadRunner

    The Go server is not affected. The PHP workers behind it need the update and a restart.

    How to update
  6. Application serverAction needed

    LiteSpeed and OpenLiteSpeed

    LiteSpeed runs PHP through its own lsphp builds. Update those, or build lsphp from source, and restart.

    How to update
  7. DistributionAction needed

    Ubuntu and Debian

    Install the distribution or Sury update. On Ubuntu the PHP version number stays the same and only the package revision changes.

    How to update
  8. DistributionAction needed

    RHEL, Rocky, Alma and Remi

    PHP said Remi’s repository would not have the update on release day. Prefer the distribution packages, or build from source.

    How to update

If you can’t update right away, see what to watch for while a server is exposed. To confirm an update worked, see how to check your PHP version.

Sources