The PHP project describes a condition in which memory allocation fails while request data is only partly initialized. An interruption can leave internal data in a state that later cleanup code treats as valid, allowing unsafe memory access.
Security researchers reported potential unauthenticated remote code execution in exposed web-serving PHP configurations. Exploit conditions vary by server interface and code path; a proof of concept against Apache mod_php is not automatic proof that every PHP-FPM installation has the same exploitation route.
The upstream security fix was released on 21 October 2026 in PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Vendor-supported packages may apply an equivalent source-level fix while retaining a different displayed version string.
Install the appropriate fixed build and restart active PHP workers. Check the version and package advisory together, and investigate unexpected PHP worker crashes, multipart request bursts or commands launched by the web-serving account if previous exposure is possible.