Am I affected?
CVE-2026-109618
PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. Some contexts may not properly account for this scenario and leave request memory in an uninitialized state before performing an allocation. The subsequent request cleanup procedure may read or branch on this memory. Multiple OOM strategies can consistently trigger this condition and lead to remote code execution (RCE).
Exploit probability (FIRST EPSS): >99.9% chance of exploitation activity in the next 30 days (top 1% of all scored CVEs), scored 2026-11-23. EPSS is a likelihood estimate, not proof of attacks.
php.net security advisory: RCE via OOM corruption
Often called “PHP2Shell” in news coverage (not an official php.net name).
Published by php.net on 2026-10-21. Fixed in PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35. PHP 8.1 and older get no official release; php.net points to distribution/LTS vendor backports.
If you cannot update right away (php.net says these reduce exposure but do not make you safe):
- Set memory_limit=-1 in a way applications cannot override (for example php_admin_value in the FPM pool).
- Set a low post_max_size (8M without uploads, 32M with uploads) and keep upload_max_filesize below it.
- Enforce request size and field/part/header count limits at the web server or proxy.
Sources: php.net advisory · GHSA-w8hw-w9fx-j79w · Fixed together with CVE-2026-109619
Check your PHP version
Fixed versions by branch
| Branch | Affected (php.net) | Fixed in |
|---|---|---|
| PHP 8.5 | PHP 8.5 only, 8.5.0 (including) to 8.5.12 (excluding) | 8.5.12 |
| PHP 8.4 | PHP 8.4 only, 8.4.0 (including) to 8.4.27 (excluding) | 8.4.27 |
| PHP 8.3 | PHP 8.3 only, 8.3.0 (including) to 8.3.36 (excluding) | 8.3.36 |
| PHP 8.2 | PHP 8.2 only, 8.2.0 (including) to 8.2.35 (excluding) | 8.2.35 |
"Fixed in" is shown only when the source gives an exact upper bound. Any later patch in the same branch also has the fix. Linux distributions (Ubuntu, Debian, RHEL) often backport fixes without changing the PHP version number.
Related CVEs
Other PHP CVEs that NVD lists for the same branches.
- CVE-2026-109619 High 8.1 · PHP 8.5, 8.4, 8.3, 8.2, 8.1, 8.0, 7.4, 7.3 · 2026-10-21
- CVE-2024-5458 Medium 5.3 · PHP 8.3, 8.2, 8.1, 8.0, 7.4, 7.3 · 2024-06-09
- CVE-2025-14178 High 8.2 · PHP 8.5, 8.4, 8.3, 8.2, 8.1 · 2025-12-27
- CVE-2025-14177 High 7.5 · PHP 8.5, 8.4, 8.3, 8.2, 8.1 · 2025-12-27
- CVE-2025-14180 High 7.5 · PHP 8.5, 8.4, 8.3, 8.2, 8.1 · 2025-12-27
- CVE-2026-17543 Critical 9.8 · PHP 8.5, 8.4, 8.3, 8.2 · 2026-07-30
Questions
- Which PHP versions are affected by CVE-2026-109618?
- php.net lists these affected ranges: PHP 8.5 only, 8.5.0 (including) to 8.5.12 (excluding); PHP 8.4 only, 8.4.0 (including) to 8.4.27 (excluding); PHP 8.3 only, 8.3.0 (including) to 8.3.36 (excluding); PHP 8.2 only, 8.2.0 (including) to 8.2.35 (excluding).
- Which PHP version fixes CVE-2026-109618?
- According to php.net, the fix is in PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35 (upgrade to that release or any later patch in the same branch).
- Does a version check prove my server is safe from CVE-2026-109618?
- No. The SAPI, web server, operating system, loaded extensions and configuration change whether a bug can be reached, and Linux distributions often backport fixes without changing the upstream version number.
Sources: CVE-2026-109618 on NIST NVD and the php.net ChangeLog. NVD data synced 2026-11-24T03:47:46.548Z. See all PHP CVEs in the CVE explorer.