Back to Feed
VulnerabilitiesOct 21, 2026

PHP Issues Emergency Patches for Two Critical PHP2Shell RCE Flaws as Exploit Attempts Emerge

PHP releases emergency patches for two critical PHP2Shell RCE flaws enabling unauthenticated code execution.

PHP has issued emergency security updates addressing two critical remote code execution vulnerabilities collectively named PHP2Shell that allow unauthenticated attackers to execute arbitrary code on web servers. The flaws exist in the PHP runtime itself rather than in individual applications, affecting PHP versions 8.5.12, 8.4.27, 8.3.36, and 8.2.35. Exploit attempts targeting these vulnerabilities have already emerged in the wild.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run PHP?

Get an email when a new story names PHP, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

Two critical remote code execution vulnerabilities in the PHP runtime itself — not individual applications — mean that every unpatched web server running PHP is potentially exposed to unauthenticated attackers. Because the flaw lives in the runtime layer, a vast number of applications across multiple PHP versions (8.2, 8.3, 8.4, and 8.5) are simultaneously affected, dramatically widening the attack surface. The emergence of active exploit attempts in the wild means the window for safe remediation is already closing. This incident underscores that even foundational infrastructure components like language runtimes require the same rigorous, rapid vulnerability management as applications and operating systems.

What helps against this

How we list vendors

Entities

PHP (vendor)PHP 8.5 (product)PHP 8.4 (product)PHP 8.3 (product)PHP 8.2 (product)PHP2Shell (campaign)