12 min read
By: RedLegg's Cyber Threat Intelligence Team
About:
Two critical remote code execution vulnerabilities, CVE-2026-109618 and CVE-2026-109619, affect PHP versions 8.2, 8.3, 8.4, and 8.5. Both vulnerabilities involve memory management flaws that can allow attackers to execute arbitrary code with the privileges of the PHP web worker.
CVE-2026-109618 results from memory corruption during out-of-memory error handling. An unauthenticated attacker can send crafted multipart requests that exhaust memory and trigger an invalid request state, potentially leading to remote code execution. Third parties have reported exploitation of this vulnerability.
CVE-2026-109619 is a use-after-free vulnerability involving global state retained between PHP requests. Under certain conditions, stale references to freed request memory can be exploited to execute arbitrary code. PHP's advisory does not report exploitation of this vulnerability in the wild.
PHP released fixed versions on October 21, 2026. Organizations should upgrade to PHP 8.2.35, 8.3.36, 8.4.27, or 8.5.12, restart all PHP workers, and prioritize internet-facing systems. Updating is the only complete mitigation for both vulnerabilities.
RedLegg will occasionally communicate vulnerabilities released outside the usual release schedule to provide additional value to our customers. These emergency bulletins describe vulnerabilities or threats we classify as the highest severity level and warrant out-of-band emergency patching or mitigation action.
VULNERABILITIES
Remote Code Execution via Out-of-Memory Corruption in PHP
Identifier: CVE-2026-109618
PoC or Exploitation: Exploitation has been reported by third parties.
CVSS Score: 9.2 (Critical, CVSS v4.0)
Update / Patch:
Description:
Mitigation Recommendation:
Remote Code Execution via Stale Global State in PHP
Identifier: CVE-2026-109619
PoC or Exploitation:
PHP's advisory does not state that this vulnerability has been exploited in the wild.
CVSS Score: 9.2 (Critical, CVSS v4.0)
Update / Patch:
- PHP 8.2 before 8.2.35
- PHP 8.3 before 8.3.36
- PHP 8.4 before 8.4.27
- PHP 8.5 before 8.5.12
- PHP 8.2.35
- PHP 8.3.36
- PHP 8.4.27
- PHP 8.5.12
Description:
Mitigation Recommendation: