Threat Feed

CVE-2026-109619: PHP · Remote code execution

Exploitation: In the wild · CVSS 9.2 Critical · Unauthenticated · Published 2026-10-21

Description

PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated after being reset. The global state may then refer to request memory even after it has been freed. Subsequent requests may read or branch on this stale state before it is fully initialized. Multiple strategies can trigger this condition and produce remote code execution (RCE).

Enclave's analysis

CVE-2026-109619 is a use-after-free / stale global state vulnerability in PHP's core engine that can lead to unauthenticated remote code execution (RCE). PHP maintains various global state that temporarily points into request memory. When global state is not correctly reset (e.g., after fatal errors, OOM conditions) or is repopulated after being reset, it may refer to freed request memory. Subsequent requests to the same worker can then read or branch on this stale state before it is fully initialized, producing a use-after-free condition exploitable for RCE or memory disclosure. Multiple producer/consumer strategies exist depending on SAPI (mod_php being most exposed, FPM conditional, FrankenPHP likely susceptible). Wiz Research demonstrated pre-authentication RCE on WordPress, Drupal, and Joomla using a combined exploit chain. The vulnerability affects PHP 8.2.x through 8.5.x (with underlying bugs reportedly present since PHP 5.4, though only supported branches received patches). Cloudflare has reported early attacks emerging in the wild.

Fix

Upgrade PHP to 8.2.35 or 8.3.36 or 8.4.27 or 8.5.12. No fixed version is listed for PHP (EOL branches); follow the vendor advisory.

Vendor advisory

Affected versions

ProductVulnerableFixed in
PHP8.2.x before 8.2.358.2.35
PHP8.3.x before 8.3.368.3.36
PHP8.4.x before 8.4.278.4.27
PHP8.5.x before 8.5.128.5.12
PHP (EOL branches)5.4.0 - 8.1.x (all versions, EOL, no patch available)Not listed

Seen in 7 sources