CVE-2026-109618
Undergoing Analysis Undergoing Analysis - In Progress

PHP OOM Handling Remote Code Execution

Vulnerability report for CVE-2026-109618, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-21

Last updated on: 2026-10-21

Assigner: PHP Group

Description

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).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-21
Last Modified
2026-10-21
Generated
2026-10-21
AI Q&A
2026-10-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
PHP Group PHP 8.2.*
PHP Group PHP 8.3.*
PHP Group PHP 8.4.*
PHP Group PHP 8.5.*

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
CWE-824 The product accesses or uses a pointer that has not been initialized.
CWE-1325 The product manages a group of objects or resources and performs a separate memory allocation for each object, but it does not properly limit the total amount of memory that is consumed by all of the combined objects.
CWE-755 The product does not handle or incorrectly handles an exceptional condition.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-109618 is a critical remote code execution (RCE) vulnerability in PHP versions prior to 8.2.35, 8.3.36, 8.4.27, and 8.5.12. It occurs due to improper handling of out-of-memory (OOM) errors using longjmp(), which leaves request memory in an invalid state. Attackers can exploit this by triggering OOM conditions through malicious requests, leading to RCE as the web server user.

Detection Guidance

Detecting CVE-2026-109618 requires checking PHP version against patched releases (8.2.35, 8.3.36, 8.4.27, 8.5.12). Use commands like 'php -v' to check version. Monitor for unusual memory corruption patterns or crashes during request processing, especially with multipart form data or large allocations.

Impact Analysis

This vulnerability allows attackers to execute arbitrary code on affected servers without authentication. They could take control of servers, steal sensitive data like passwords or API keys, deface websites, or perform other malicious actions. Any application running on a vulnerable PHP version is at risk, even if the application itself is secure.

Mitigation Strategies

Immediately update PHP to versions 8.2.35, 8.3.36, 8.4.27, or 8.5.12. If updating is not possible, set 'memory_limit=-1' and enforce frontend size limits, reduce nesting levels in requests, and block multipart form data if unused. Disable vulnerable SAPIs like mod_php if feasible.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-109618. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart