CVE-2026-108395

Model Context Protocol Java SDK HTTP server transports allow memory exhaustion through unbounded request bodies

Published Oct 14, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
The Model Context Protocol Java SDK is the official Java SDK for Model Context Protocol servers and clients. From version 0.8.0 through 0.12.0 in the io.modelcontextprotocol.sdk:mcp artifact, from 0.13.0 through 0.18.3 and 1.0.0 through 1.1.3 in io.modelcontextprotocol.sdk:mcp-core, and from mcp-core 2.0.0-M1 through 2.0.0, the Servlet-based SSE, Streamable HTTP, and Stateless server transports read an HTTP request body into memory without enforcing a maximum size. An unauthenticated remote client able to reach an affected transport can stream an arbitrarily large POST body, including with chunked transfer encoding, until the Java process exhausts its heap and becomes unavailable. Authentication, Origin or Host validation, or an upstream request-size limit can reject the request before the vulnerable read. The maintained mcp-core lines are fixed in versions 0.18.4, 1.1.4, and 2.0.1.

Analysis

AI-generated

Technical impact

The affected transports read incoming HTTP request bodies entirely into heap memory without imposing a size limit. An attacker can send a POST request with an arbitrarily large body, even using chunked transfer encoding, until the Java process exhausts its heap and becomes unavailable. This remote unbounded read leads directly to a denial‑of‑service scenario for the affected server instance. The flaw exists in unauthenticated contexts, but authentication, origin or host validation, or an upstream request‑size cap can block the request before it reaches the vulnerable read. The issue is fixed in newer releases (0.18.4, 1.1.4, and 2.0.1).

Affected Systems

The vulnerability impacts the Model Context Protocol Java SDK, specifically the io.modelcontextprotocol.sdk:mcp and io.modelcontextprotocol.sdk:mcp-core artifacts. Affected versions include 0.8.0 through 0.12.0 for mcp, 0.13.0 through 0.18.3 and 1.0.0 through 1.1.3 for mcp-core, and mcp-core 2.0.0‑M1 through 2.0.0. All other releases beyond these versions are not affected. The remediation applies to the mentioned product lines and versions.

Risk and Exploitability

The CVSS score of 7.5 reflects a significant impact, and the lack of an EPSS value indicates no current exploitation data is available, although the attack scenario requires only an unauthenticated HTTP connection to a reachable transport. The flaw is not listed in the CISA KEV catalog, implying no publicly known exploits have been actively leveraged. An attacker could exploit the weakness by sending large payloads over HTTP to the server transports, potentially causing denial of service. Mitigating factors include authentication checks, origin or host validation, or upstream request‑size limits that can reject requests before the vulnerable read occurs.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a fixed release of the SDK (mcp 0.18.4 or later, mcp-core 1.1.4 or later, or mcp-core 2.0.1 or later).
  • If an upgrade is not immediately feasible, enforce a maximum request body size on upstream proxies or firewalls to block excessively large POST requests before they reach the vulnerable server transport.
  • Enable authentication for the transport endpoints and enforce Origin or Host header validation to reduce the attack surface before the request body is read.

Generated by OpenCVE AI on October 15, 2026 at 14:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Model Context Protocol Java SDK is the official Java SDK for Model Context Protocol servers and clients. From version 0.8.0 through 0.12.0 in the io.modelcontextprotocol.sdk:mcp artifact, from 0.13.0 through 0.18.3 and 1.0.0 through 1.1.3 in io.modelcontextprotocol.sdk:mcp-core, and from mcp-core 2.0.0-M1 through 2.0.0, the Servlet-based SSE, Streamable HTTP, and Stateless server transports read an HTTP request body into memory without enforcing a maximum size. An unauthenticated remote client able to reach an affected transport can stream an arbitrarily large POST body, including with chunked transfer encoding, until the Java process exhausts its heap and becomes unavailable. Authentication, Origin or Host validation, or an upstream request-size limit can reject the request before the vulnerable read. The maintained mcp-core lines are fixed in versions 0.18.4, 1.1.4, and 2.0.1.
Title Model Context Protocol Java SDK HTTP server transports allow memory exhaustion through unbounded request bodies
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 14, 2026, 7:29 PM
Reserved
Oct 9, 2026, 9:36 PM
Status
Awaiting Analysis
Published
Oct 14, 2026, 6:17 PM
Modified
Oct 16, 2026, 4:00 PM