In short: on 21 October 2026 the PHP project released emergency fixes for two critical vulnerabilities, called "PHP2Shell", that let an unauthenticated attacker run code on servers running PHP. If you run PHP, update to 8.5.12, 8.4.27, 8.3.36 or 8.2.35 now.
What is PHP2Shell?
PHP2Shell is the name used for two related critical remote code execution (RCE) vulnerabilities in PHP, disclosed on 21 October 2026:
- CVE-2026-109618: memory corruption when a request hits PHP's memory limit at the wrong moment. On Apache with mod_php, an unauthenticated request can trigger it before any application code runs.
- CVE-2026-109619: a fatal error can leave internal state pointing at memory from a previous request, leading to a use-after-free.
Both sit in core parts of PHP that nearly every request touches. The real CVSS score is 9.2; a 10.0 score that circulated earlier was wrong.
Which versions are fixed?
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, all released on 21 October 2026. PHP 8.1 and older are unsupported: CISA advises taking such systems offline until they can be updated.
Is it being exploited?
Security firms reported exploitation attempts against their sensors around the time patches landed. CISA said it had not observed exploitation at the time of its alert. The CVE IDs leaked two days before release, which accelerated proof-of-concept development.
What should you do?
- Inventory every system running PHP - it is often embedded in other software.
- Patch immediately, internet-facing systems first.
- If you cannot patch, a web application firewall gives partial protection.
- Monitor for PHP worker processes launching shells or downloading tools.
A note from us
AccessStamp is an accessibility tool, not a security scanner: our free web scan checks WCAG rules, not server software. We are covering this because many of the small teams we write for run PHP sites, and the fix this week is urgent and simple: update PHP.
From the same small team: Memory Quest, a free memory-training game for Android, on Google Play.