PHP out-of-memory bug lets attackers run code on the server
Attackers can send a crafted web request that makes PHP crash its memory handling and then run their own commands on the server. Attacks on this flaw are confirmed in the wild.
| Severity | CriticalCVSS 9.2 of 10 |
|---|---|
| Being exploited? | YesConfirmed by BleepingComputer, CISA KEV, The Record, NVD, Wiz Research, SecurityWeek, The Hacker News · 26 Oct 2026 |
| Fix available? | YesPatched PHP releases are available from PHP upstream and distributions (Ubuntu USN, Ondrej Sury PPA for PHP 5.6). Exact fixed version numbers are not stated in the provided material; PHP 5.x is out of security support, so a backported patch or upgrade is required. · since 25 Oct 2026 |
| How sure is this? | Official, 16 sourcesBacked by an official source |
How the attack works simplified
- 1Attacker sends requestCrafted request to a public PHP server
- 2Memory left uninitializedOut-of-memory abort skips cleanup safely
- 3Cleanup reads bad memoryCorrupted state is read during request cleanup
- 4Code executionAttacker runs commands without logging in
- ResultAttacker controls the server
What happened
CVE-2026-109618 is an out-of-memory handling flaw in PHP where some contexts leave request memory uninitialized after a longjmp() abort, and later cleanup reads or branches on that memory, enabling unauthenticated remote code execution. Some sources also describe a pointer underflow in the PHP-CGI SAPI when cgi.fix_pathinfo=1.
Are you affected?
You are affected if you run PHP versions 5.x through 8.4.26 on an internet-facing server, especially with cgi.fix_pathinfo=1 (the default for CGI setups).
PHP 5.x through 8.4.26 (per Full Disclosure report); PHP 8.4.26 and earlier listed in one source; some industrial products from Siemens, Schneider Electric, ABB and others are also reported affected.
What to do
- Update PHP to a patched release from your distribution or php.net; for PHP 5.x, apply a vendor backport or upgrade to a supported version
- Check whether the server was compromised before patching: review logs and look for unknown processes, files, or accounts
- Rotate passwords and MFA secrets if exposure is suspected
- Set cgi.fix_pathinfo=0 if you use PHP-CGI and cannot patch immediately (mitigation per vendor guidance)
Timeline
- 20 Oct 2026, 21:56 UTCPublicly disclosed
- 20 Oct 2026, 21:56 UTCReported by r/netsec · r/netsec
- 21 Oct 2026, 00:05 UTCReported by PHP · PHP
- 21 Oct 2026, 00:14 UTCReported by PHP · PHP
- 21 Oct 2026, 00:20 UTCReported by PHP · PHP
- 21 Oct 2026, 00:24 UTCReported by PHP · PHP
- 21 Oct 2026, 00:35 UTCReported by PHP · PHP
- 21 Oct 2026, 14:17 UTCReported by NVD · NVD
- 21 Oct 2026, 15:28 UTCReported by Socket · Socket
- 21 Oct 2026, 15:33 UTCReported by Ubuntu USN · Ubuntu USN
- 21 Oct 2026, 19:06 UTCReported by Socket · Socket
- 21 Oct 2026, 21:24 UTCReported by r/netsec · r/netsec
- 23 Oct 2026, 07:40 UTCReported by The Hacker News · The Hacker News
- 24 Oct 2026, 22:27 UTCReported by oss-security · oss-security
- 25 Oct 2026, 15:20 UTCCisco PSIRT reported on it · Cisco PSIRT
- 25 Oct 2026, 15:20 UTCPalo Alto Networks reported on it · Palo Alto Networks
- 25 Oct 2026, 17:19 UTCReported by The Hacker News · The Hacker News
- 26 Oct 2026, 00:25 UTCReported by oss-security · oss-security
- 26 Oct 2026, 09:20 UTCBleepingComputer reported on it · BleepingComputer
- 26 Oct 2026, 09:20 UTCReported by BleepingComputer
- 26 Oct 2026, 16:38 UTCReported by oss-security · oss-security
- 26 Oct 2026, 18:17 UTCSecurityWeek reported on it · SecurityWeek
- 26 Oct 2026, 23:04 UTCCISA reported on it · CISA
- 26 Oct 2026, 23:09 UTCCISA KEV reported on it · CISA KEV
- 26 Oct 2026, 23:09 UTCConfirmed by CISA KEV
- 27 Oct 2026, 00:42 UTCReported by oss-security · oss-security
- 27 Oct 2026, 04:37 UTCReported by The Hacker News · The Hacker News
- 27 Oct 2026, 07:31 UTCFull Disclosure reported on it · Full Disclosure
- 27 Oct 2026, 08:20 UTCReported by BleepingComputer · BleepingComputer
- 27 Oct 2026, 13:24 UTCThe Record reported on it · The Record
- 27 Oct 2026, 13:54 UTCWiz Research reported on it · Wiz Research
- 27 Oct 2026, 21:08 UTCReported by oss-security · oss-security
- 28 Oct 2026, 12:00 UTCReported by SecurityWeek · SecurityWeek
- 28 Oct 2026, 14:00 UTCReported by BleepingComputer · BleepingComputer
- 28 Oct 2026, 16:02 UTCReported by The Hacker News · The Hacker News
- 29 Oct 2026, 04:12 UTCReported by Full Disclosure · Full Disclosure
Sources 30 reports, oldest first
Official vendor, government CERT or advisory database
- PHP 8.2.35 Released!PHP · 21 Oct 2026, 00:05 UTC
- PHP 8.3.36 Released!PHP · 21 Oct 2026, 00:14 UTC
- PHP 8.4.27 Released!PHP · 21 Oct 2026, 00:20 UTC
- PHP 8.5.12 Released!PHP · 21 Oct 2026, 00:24 UTC
- Security advisory: Critical remote code execution vulnerabilities, update nowPHP · 21 Oct 2026, 00:35 UTC
- NVD21 Oct 2026, 14:17 UTC
- USN-8948-2: PHP vulnerabilitiesUbuntu USN · 21 Oct 2026, 15:33 UTC
- Vulnerabilities in PHP Affecting Cisco Products: October 2026Cisco PSIRT · 23 Oct 2026, 20:39 UTC
- CVE-2026-109618 Impact of Critical Vulnerabilities in PHP (CVE-2026-109618, CVE-2026-109619) on Palo Alto Networks Products (Severity: HIGH)Palo Alto Networks · 25 Oct 2026, 05:25 UTC
- PHP Memory Corruption VulnerabilityCISA KEV · 26 Oct 2026, 00:00 UTC
- CISA Adds Two Known Exploited Vulnerabilities to CatalogCISA · 26 Oct 2026, 12:00 UTC
Security researchers research teams and mailing lists
- PHP Patches Critical RCE Vulnerabilities, Organizations Urged to Take Unpatched Sites OfflineSocket · 21 Oct 2026, 15:28 UTC
- PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency PatchesSocket · 21 Oct 2026, 19:06 UTC
- PHP 5.4.23 (custom 5.4-5.6) backported patch for PHP2Shell OOM vulnerability (CVE-2026-109618)oss-security · 24 Oct 2026, 22:27 UTC
- Re: PHP 5.4.23 (custom 5.4-5.6) backported patch for PHP2Shell OOM vulnerability (CVE-2026-109618)oss-security · 26 Oct 2026, 00:25 UTC
- Re: PHP 5.4.23 (custom 5.4-5.6) backported patch for PHP2Shell OOM vulnerability (CVE-2026-109618)oss-security · 26 Oct 2026, 16:38 UTC
- Re: PHP 5.4.23 (custom 5.4-5.6) backported patch for PHP2Shell OOM vulnerability (CVE-2026-109618)oss-security · 27 Oct 2026, 00:42 UTC
- CVE-2026-109618: PHP-CGI Pointer Underflow → Remote Code Execution (CVSS 9.2)Full Disclosure · 27 Oct 2026, 07:29 UTC
- PHP2Shell: Exploitation Attempts and Remediation TrendsWiz Research · 27 Oct 2026, 13:21 UTC
- Re: PHP 5.4.23 (custom 5.4-5.6) backported patch for PHP2Shell OOM vulnerability (CVE-2026-109618)oss-security · 27 Oct 2026, 21:08 UTC
Security press established security newsrooms
- PHP rce CVE-2026-109618r/netsec · 20 Oct 2026, 21:56 UTC
- PHP2Shell (CVE-2026-109618/109619): first exploit requests arrived 5.5 hours before PHP shipped the fix, and the "scanners" carry Mirai-stylr/netsec · 21 Oct 2026, 21:24 UTC
- PHP2Shell Exploit Attempts Hit Millions as Attackers Try to Deploy Mirai MalwareThe Hacker News · 23 Oct 2026, 07:40 UTC
- PHP2Shell Exploitation Hits Government Entity Amid Global Scanning and Signs of AI-Assisted HackingThe Hacker News · 25 Oct 2026, 17:19 UTC
- PHP2Shell security flaws now sucessfully exploited in the wildBleepingComputer · 26 Oct 2026, 09:19 UTC
- Industrial Vendors Check Products for PHP2Shell VulnerabilitiesSecurityWeek · 26 Oct 2026, 14:52 UTC
- CISA Confirms Active Exploitation of Two PHP2Shell Flaws Enabling Remote Code ExecutionThe Hacker News · 27 Oct 2026, 04:37 UTC
- CISA confirms PHP2Shell vulnerabilities now exploited in attacksBleepingComputer · 27 Oct 2026, 08:20 UTC
- CISA warns of PHP bug exploitation attempts, gives federal agencies days to patchThe Record · 27 Oct 2026, 13:16 UTC
- China-Linked Hackers Exploit PHP2Shell to Root FirewallsSecurityWeek · 28 Oct 2026, 12:00 UTC
Technical details
- ID
- CVE-2026-109618 · ZR-d7e589c6 · ZR-4e5f0d81 · ZR-0d8d39d2 · ZR-eb73651e
- CVSS
- 9.2 / 10
- EPSS
- 100% chance of exploitation within 30 days
- Disclosed
- 20 Oct 2026, 21:56 UTC
- On Zero Radar
- before the radar started
- Last change
- 29 Oct 2026, 04:15 UTC
The plain-language parts and the attack diagram were written by an AI model (anthropic/claude-haiku-5.5) from the sources above. Facts like versions, exploitation and dates come from the sources themselves. How Zero Radar works