Not php.net · Not NVD · Not CISA

PHP Vulnerability Tracker

Unofficial briefing on PHP security vulnerabilities

English简体中文日本語DeutschFrançaisNederlandsEspañol

Security alert

PHP2Shell: upgrade PHP. That is the only complete fix.

CVE-2026-109618 and CVE-2026-109619 are critical, unauthenticated remote-code-execution bugs in PHP itself. The PHP project shipped fixes on 21 October 2026 for the supported 8.2–8.5 branches. Restart PHP after you upgrade. A firewall is not a substitute.

Remediation steps

PHP2Shell check · CVE-2026-109618 · CVE-2026-109619

PHP2Shell checker: is my PHP version affected?

Type a PHP version or paste the output of php -v. The PHP2Shell checker runs entirely in your browser, sends nothing to a server and never scans any host.

Last updated

Use the PHP2Shell checker below for every PHP runtime you operate: the host CLI, each PHP-FPM pool, Apache mod_php and each container image can all run different versions.

Example: 8.3.35 or PHP/8.2.34. The patch number is required.

Nothing checked yet. The result stays in your browser.

Tip: you can paste the whole first line of php -v, such as PHP 8.3.35 (cli) (built: …). The checker picks out the version number.

Is my PHP version affected by PHP2Shell?

PHP2Shell affected versions and fixed releases (21 October 2026)
BranchStatusFixed release
PHP 8.5Affected below the fixed release8.5.12
PHP 8.4Affected below the fixed release8.4.27
PHP 8.3Affected below the fixed release8.3.36
PHP 8.2Affected below the fixed release8.2.35
PHP 5.4 – 8.1End of life: no upstream fix; vendor backport or upgrade needed—

How to check if your server runs a vulnerable PHP version

These read-only commands only show versions on machines you control. Run them as the same user or inside the same container as the site, then paste the version into the PHP2Shell checker.

Safe PHP2Shell self-check commands (no network access to other hosts)
# 1. PHP version on the host (CLI)
php -v

# 2. PHP version inside each container
docker ps --format '{{.Names}}'
docker exec <container> php -v

# 3. Package version (shows distro backports)
dpkg -l | grep -E '^ii +php'          # Debian / Ubuntu
rpm -qa | grep -i '^php'              # RHEL / Alma / Rocky / Fedora / SUSE
apk info -v | grep -i '^php'          # Alpine

# 4. Version the web server actually runs (FPM / mod_php may differ from CLI)
php-fpm -v 2>/dev/null || ls /usr/sbin/php-fpm*

Which PHP versions are patched?

PHP2Shell scanner vs version check

Check bundled products

If the PHP2Shell check says you are affected

Is this PHP2Shell checker safe to use?

Yes. It is a version-number comparison that runs in your browser. Nothing is sent to a server and no host is scanned.

Can I check a website I do not own?

No. Only check systems you own or are authorised to assess. This site never scans third-party hosts.

My distro shows PHP 8.3.6 but says it is patched. Who is right?

Your distribution. Backported packages keep the old upstream number. Check the package version against distro fixes.

Does a WAF rule make me safe from PHP2Shell?

No. WAF rules and php.ini changes reduce some paths only. Upgrading PHP and restarting workers is the fix.

Is PHP 7.4 or 8.1 affected by PHP2Shell?

Treat them as affected. The PHP project published no release for end-of-life branches; only vendor backports or an upgrade help.

Sources

Outbound links leave this site. We do not host exploit code.

  1. News archive 2026: security advisory, 21 October 2026 — PHP project (php.net)
  2. PHP downloads — PHP project (php.net)
  3. Supported Versions — PHP project (php.net)
  4. Unsupported Branches — PHP project (php.net)
  5. CVE-2026-109618 — Debian Security Tracker
  6. CVE-2026-109618 — Ubuntu Security (Canonical)