Skip to main content

Blog1 min read

PHP2Shell: Two Critical PHP Flaws and How to Respond

PHP2Shell affects the PHP runtime. Learn which updates fix the two critical issues and how to verify the patch in a running web deployment.

Archive article. The date shown is based on the PHP release. Published on BIT62 on December 3, 2026.

On October 21, 2026, the PHP project issued emergency updates for CVE-2026-109618 and CVE-2026-109619. Both issues are rated critical and can allow unauthenticated remote code execution under affected conditions. PHP2Shell affects the runtime beneath the application, so an up-to-date CMS can still run on a vulnerable PHP version. PHP security announcement

Which deployments should you check?

Prioritize internet-facing PHP applications. Include older installations, managed hosting plans, and containers. Exposure depends on the PHP version, package build, and configuration. Distribution vendors may backport fixes without changing the upstream version number displayed by PHP.

Which updates fix the October issues?

The first patched upstream versions were PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12. Deploy the current security release of your supported branch or your package or hosting provider’s confirmed fix. If a patch is unavailable, restrict access to affected services until you can update. PHP 8 changelog

How do you verify the patch?

Check the PHP version of the running web service. The command-line version can differ from PHP-FPM, a managed hosting pool, or a container. Restart affected processes after updating, check every instance, and test logins, uploads, and key workflows. If you suspect a compromise, preserve logs and arrange an investigation. Applying a patch closes the vulnerability without undoing a prior intrusion.

If you would like to review the patch status of your PHP applications, get in touch with BIT62.

Read the companion PHP security post

PHP2Shell: Two Critical PHP Flaws and How to Respond | BIT62