On 20 October 2026 the PHP project published advance notice of a critical security release, scheduled for 21 October 2026 at 14:00 UTC. The release shipped on schedule and fixes two independent memory-safety defects in the PHP engine. Both are reachable before any application code runs, both are rated CVSS v4.0 9.2 (critical), and both can lead to remote code execution by an unauthenticated attacker. The flaws have existed since PHP 5.4.0.
The two bugs are described in plain language below, at the level of detail the official advisories give. This page contains no exploit code, proof-of-concept, or trigger recipe.
CVE-2026-109618GHSA-w8hw-w9fx-j79wCVSS 9.2 Remote code execution via out-of-memory state corruption
PHP exits with longjmp() when it runs out of memory. Request memory can be reachable before it is fully initialised, so an out-of-memory error inside that window leaves invalid state that request shutdown later processes as valid. Multipart request parsing, which runs before any application code, can trigger it. Confirmed impact: unauthenticated remote code execution as the web worker account.
The fixThe fix removes longjmp() for out-of-memory errors, replacing it with a soft limit at the next VM safe point and a hard limit that calls _exit().
Introduced in PHP 5.4.0 · CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N · CWE-416, CWE-755, CWE-824, CWE-1325, CWE-1419
CVE-2026-109619GHSA-6wmf-4rv5-p3rpCVSS 9.2 Remote code execution via stale request state (use-after-free)
Request-owned state (error, session, object and extension state) can stay published in persistent worker globals after the request heap has been freed. If a later request on the same worker touches that state before normal initialisation resets it, the result is a use-after-free. Confirmed impact: unauthenticated memory disclosure and remote code execution as the web worker account.
The fixThe fix resets all request-owned state when a request is abandoned.
Introduced in PHP 5.4.0 · CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N · CWE-416