PHP keeps request-owned internal state that can survive after the memory backing it has been freed. A later request handled by the same worker may use that stale state before normal initialization resets it. Several ways of triggering this exist and can lead to unauthenticated remote code execution.
Every PHP installation that serves web requests is exposed, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. The risk is highest for mod_php: a demonstrated exploit triggers the attack with an unauthenticated request before any application code runs.
Install the updated PHP packages from your distribution, or update to PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later. If your distribution or PHP branch has no fix, move to a supported PHP branch or build from source with the published patch.
Only an update fixes this. Until you can update, these measures block the confirmed attack paths but not other variants:
session.upload_progress.enabled=0 and restart every worker. Set it in php.ini, an FPM pool or the server configuration so it applies before request parsing; ini_set() and FPM .user.ini files are too late.fatal_error_backtraces=0 and restart every worker.8.4.27-1.el10_28.4.27-1.el10_28.2.33-1.module_el9.8.0+327+37dfd4b4.alma.18.2.33-1.module_el9.8.0+327+37dfd4b4.alma.18.2.33-1.module_el9.8.0+327+37dfd4b4.alma.18.2.33-1.module_el9.8.0+327+37dfd4b4.alma.18.2.33-1.module_el9.8.0+327+37dfd4b4.alma.18.2.33-1.module_el9.8.0+327+37dfd4b4.alma.18.2.33-1.module_el9.8.0+327+37dfd4b4.alma.18.2.33-1.module_el9.8.0+327+37dfd4b4.alma.1Exploitability
AV:NAC:HAT:PPR:NUI:NVulnerable System
VC:HVI:HVA:HSubsequent System
SC:NSI:NSA:N9.2/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