PHP2Shell: Emergency PHP Security Update Fixes Critical RCE Flaws, Update Now (2026)
The PHP security team released emergency security updates on Wednesday, October 21, 2026, fixing two critical vulnerabilities that allow unauthenticated remote code execution. The flaws, dubbed PHP2Shell by researchers, affect PHP versions dating back to 5.4 and each carries a CVSS severity score of 9.2 out of 10.
How it happened
On October 20, PHP’s security team issued an unusual advance warning: a security release was scheduled for 14:00 UTC on October 21, patching two critical bugs, but naming neither the versions nor the CVE identifiers. Before the patch landed, a researcher published alleged full details and two proof-of-concept exploits online, breaking the disclosure embargo, according to iTnews.
The PHP team responded by pushing the release early. The official security advisory and patched downloads went live at 13:45 UTC, roughly fifteen minutes ahead of the planned time, as reported by Wordify’s live coverage.
The two vulnerabilities
The flaws are tracked as CVE-2026-109618 and CVE-2026-109619. PHP’s own advisory describes them as follows.
The first, CVE-2026-109618, is remote code execution through out-of-memory corruption. Out-of-memory handling can interrupt PHP while internal request data is only partially initialized, and request cleanup can then treat the invalid data as valid.
The second, CVE-2026-109619, is remote code execution through stale global state. Request-owned internal state can survive after its backing memory has been freed, and a later request handled by the same worker can use that stale state before normal initialization resets it.
PHP says all installations serving web requests are at risk, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. The risk is highest for mod_php, where an exploit was demonstrated with an unauthenticated request triggering the attack before any application code runs. The security firm watchTowr rated the severity a full 10.0.
Who found them
The vulnerabilities were independently discovered in August 2026 by the California-based security firm Calif, as part of OpenAI’s “Patch the Planet” project, and by the cloud security company Wiz, according to Wikipedia. Researchers from Wiz Research, OpenAI Codex Security and Calif worked with the PHP security team and Google’s Gemini team on coordination and patch verification.
Real-world fallout
The fallout was immediate. Cloudflare CTO Dane Knecht confirmed the company had already witnessed attempted attacks and was updating mitigations, according to Shacknews. Reuters reported that cybersecurity agencies in Europe, Australia, Japan and Britain urged PHP users to update immediately or take their websites offline until they could. CERT-EU advised organizations to isolate internet-facing applications if they could not apply the updates right away, and Australia’s Signals Directorate issued a pre-patch alert.
The gaming world felt it too. Dexerto reported that Pokemon, Umamusume and Cygames online services were taken offline as a precaution while patches were applied. The security firm Sansec expects mass scanning and exploitation attempts to follow the release closely, and there are no complete workarounds: updating is the only safe choice.

Which versions are patched
The fixed releases are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. For older branches, the PHP team provided minimal source backports for PHP 7.4, 8.0 and 8.1, and Linux distributions and long-term support vendors received the patches in advance, so check your vendor for updated packages. Note that PHP 8.2 reaches end of life on December 31, 2026 and will receive no further security fixes after that date.
What site owners should do
Update immediately. On your own servers, install the patched release for your branch and restart every worker. On managed or shared hosting, your provider applies PHP updates, so ask when they plan to deploy this one. For WordPress sites, you can find your PHP version under Tools, then Site Health, then Info, then Server, as noted by Help Net Security.
PHP also lists interim measures that reduce exposure for specific attack paths while you prepare to update, including setting memory_limit to -1 in the FPM pool or Apache configuration, keeping post_max_size low, and setting session.upload_progress.enabled to 0 followed by a restart of every worker. These do not make an installation safe. Only the update is a complete fix.
Why this matters
PHP powers roughly 70 percent of websites, including WordPress, Drupal and Joomla, according to php2shell.com. Because the vulnerable code sits in PHP itself, websites can be affected even when their own application code is secure, including a simple hello world application on an affected version. With proof-of-concept exploits already circulating and attackers expected to scan broadly, unpatched servers are exposed right now.
The speed of this episode is the real lesson: the disclosure embargo broke before the patch shipped, and attackers had a head start measured in hours, not days. Patch first, then plan your upgrade to a supported branch.
Sources: Help Net Security, Shacknews, iTnews, Wordify, Dexerto, BleepingComputer, php.net security advisory, php2shell.com, Wikipedia.
Sources: https://www.helpnetsecurity.com/2026/10/21/php-security-release-announcement-october-2026/
https://www.shacknews.com/article/151089/php-security-vulnerability
https://windowsforum.com/news/php-critical-security-release-set-for-october-21-prepare-iis-windows-server-and-legacy-installs.449300/
https://wordify.com/blog/php-security-vulnerability-wordpress-october-2026/
https://www.dexerto.com/pokemon/pokemon-umamusume-and-other-major-games-taken-offline-over-critical-php-vulnerability-3420823/
https://www.php.net/archive/2026.php
https://php2shell.com
https://en.wikipedia.org/wiki/PHP2Shell
Axee Davies is the founder of AxeeTech, publishing gaming guides, codes, and Windows how-tos since March 2013. A tech enthusiast for 13+ years — starting with smartphones and Android rooting — he now runs a site that puts out a new guide every day for Roblox players, traders, and Windows users. More about AxeeTech
More News You May Like
Sony Unveils Japan-Only Midnight Black PS5: Price, Release Date, and the Big Catch (2026)
BREAKING: WWE 2K25 Unveils ‘The Undertaker Deadman Edition’ Cover—Legend’s Return Reignites Gaming Frenzy
Massive Workday Outage Locks Employees Out of Payroll, HR and Benefits (2026)
Microsoft Outage Takes Down Outlook, Teams and Copilot Worldwide (2026)
Google Launches Gemini 4 Hydrogen: Faster AI Model Now Powers Search for Everyone (2026)
Nvidia CEO Jensen Huang Resigns After 33 Years, Colette Kress Named Interim CEO (2026)
Understanding Checkout Failures on Windows Business PCs
GTA 6 Pre-Load Is Live Now: Rockstar Confirms 30fps on All Consoles, PS5 Pro Gets Ray-Traced Shadows (2026)