Severity: Critical (CVSS 9.2) · Exploitation: Actively exploited · Fix available: Yes
PHP2Shell is a pair of critical, unauthenticated remote code execution vulnerabilities in the core PHP runtime, CVE-2026-109618 and CVE-2026-109619, both rated CVSS 9.2. They come from memory-management and error-handling bugs that trigger use-after-free conditions when a script forces an out-of-memory error. A remote attacker can bypass application code entirely, leak live server memory and execute shell commands as the web server worker. PHP shipped emergency releases on 21 October 2026, and in-the-wild attacks targeting PHP2Shell were reported after that date.
When a script is pushed into an out-of-memory error, PHP's error handling frees memory that is still referenced, creating a use-after-free in the runtime itself. Because the bug is in the engine rather than in application code, any PHP application on an affected build can be reachable. PHP's advisory for CVE-2026-109619 lists disabling session upload progress (session.upload_progress.enabled=0) as a mitigation.
In-the-wild attacks targeting the two PHP2Shell flaws were reported after the 21 October emergency releases. Patch internet-facing PHP servers immediately.
session.upload_progress.enabled=0 across all ini layers for the web SAPI.Uptycs vulnerability management identifies hosts, containers and cloud workloads running affected PHP versions so teams can prioritize patching. Uptycs Threat Research continues to monitor these vulnerabilities and will update this bulletin if exploitation activity changes.