
CVE-2026-109618 and CVE-2026-109619 affect PHP runtimes and are collectively discussed as PHP2Shell. PHP classifies both issues as critical. Practical risk is not determined by PHP version alone: the deployed SAPI, web-server integration, application behavior, request lifecycle, and worker permissions influence whether a target is exploitable.
Horizon3.ai validated exploit feasibility under specific deployment conditions, while PHP's advisory identifies mod_php as the highest-risk configuration. PHP released fixed versions 8.5.12, 8.4.27, 8.3.36, and 8.2.35 on October 21, 2026. Organizations should inventory every PHP runtime, including versions bundled inside products and containers, then apply a trusted vendor update.
CVE-2026-109618 is an out-of-memory corruption vulnerability, while CVE-2026-109619 involves stale global state that can persist across requests handled by the same worker. Together, these conditions may create a pre-authentication remote code execution path in susceptible deployments.
The affected runtime surface includes PHP-FPM, Apache mod_php, php-cgi, FrankenPHP, and LiteSpeed integrations. Their exposure is not identical. PHP's official guidance places special emphasis on mod_php, while other SAPIs must be assessed against their own request and worker behavior.
The exact chain depends on deployment details. A PHP version scan alone is not a complete exploitability assessment.
| Date | Event | Status |
|---|---|---|
| October 21, 2026 | PHP publishes fixed releases and advisory details | β Patch available |
| October 22, 2026 | Horizon3.ai publishes deployment-focused exploitability research | π’ Public disclosure |
| October 23, 2026 | Organizations review runtime, SAPI, container, and worker exposure | π Continuing assessment |
Review web-server, PHP-FPM, process-creation, container, and egress logs around disclosure and suspicious request bursts. Look for unexpected child processes, shell interpreters, credential access, unusual outbound connections, and repeated requests reaching the same worker pool.
Example Splunk starting point:
index=web OR index=php OR index=process
| search process_name IN ("sh", "bash", "cmd", "powershell", "curl", "wget")
OR parent_process IN ("php-fpm", "httpd", "apache2", "php-cgi")
| stats count values(command_line) values(src_ip) by host, parent_process, process_name
| sort -count
If suspicious activity is found, preserve logs and host evidence, isolate the service, rotate credentials reachable by the worker, and follow incident response procedures. Treat the event as a potential compromise until telemetry establishes otherwise.
PHP documents configuration-level mitigations such as reducing request and memory limits and disabling upload progress where appropriate. These may reduce exposure, but are not a replacement for the fixed runtime. Apply them only as short-term defense-in-depth while patching.
PHP2Shell is a critical runtime issue whose real-world risk depends on how PHP is integrated and what the worker can reach.
β Patch first β move supported PHP runtimes to fixed releases or apply a trusted backport.
β Inventory beyond servers β inspect containers, appliances, hosted products, and vendor-managed applications.
β Prioritize mod_php and long-lived workers β integration and state behavior can materially change exploitability.
β Limit blast radius β least privilege and egress controls reduce impact.
For your clients and users: verify PHP runtime and SAPI exposure today, then document remediation for every bundled or containerized deployment.
Written by
Research
A DevOps engineer and cybersecurity enthusiast with a passion for uncovering the latest in zero-day exploits, automation, and emerging tech. I write to share real-world insights from the trenches of IT and security, aiming to make complex topics more accessible and actionable. Whether Iβm building tools, tracking threat actors, or experimenting with AI workflows, Iβm always exploring new ways to stay one step ahead in todayβs fast-moving digital landscape.
Get the latest cybersecurity insights delivered to your inbox.