- Identifiers
- CVE-2026-109618 · CVE-2026-109619
- Severity
- CVSS v4.0: 9.2 (critical)
- Impact
- Remote code execution, without authentication
- Affected versions
- PHP 5.4 and every later version
- Official fix
- 21 October 2026, 4 pm Paris time: PHP 8.2 to 8.5 only
- Fixed versions
- PHP 8.2.35 · 8.3.36 · 8.4.27 · 8.5.12
- No fix
- PHP 5.x, 7.x, 8.0 and 8.1
CVE-2026-109618
Code execution through corruption after an out-of-memory error
When a request exhausts the memory allotted to PHP, the interruption leaves request data in an invalid state, which the end-of-request routine then reads again. According to the PHP advisory, several ways of causing this out-of-memory condition go through the parsing of multipart request bodies. Sansec adds that this flaw can also send fragments of server memory back to the client.
CVE-2026-109619
Code execution through stale global state
Some of PHP’s global state keeps a pointer to the memory of a request that has already been freed. The next request handled by the same process can then read this stale state before resetting it, which opens the way to code execution.
The PHP advisory describes Apache with mod_php as the most exposed case: code execution was demonstrated there over HTTP, with the default configuration, before the application code even runs. PHP-FPM is also affected according to source code analysis, even though no complete attack has been demonstrated on it. In every case, updating PHP is the only complete protection.