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

Summary

CVECVE-2026-108395
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-14 18:17:27 UTC
Updated2026-10-14 20:17:30 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-770 | CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNADECLARED7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Modelcontextprotocol Io.modelcontextprotocol.sdkmcp affected >= 0.8.0, < 0.13.0 Not specified
CNA Modelcontextprotocol Io.modelcontextprotocol.sdkmcp-core affected >= 0.13.0, < 0.18.4 Not specified
CNA Modelcontextprotocol Io.modelcontextprotocol.sdkmcp-core affected >= 1.0.0, < 1.1.4 Not specified
CNA Modelcontextprotocol Io.modelcontextprotocol.sdkmcp-core affected >= 2.0.0-M1, < 2.0.1 Not specified

References

ReferenceSourceLinkTags
github.com/modelcontextprotocol/java-sdk/commit/8c0fdd1b1f76adba3ce7945d... [email protected] github.com
github.com/modelcontextprotocol/java-sdk/commit/9e4d5fa827b6ba69457f5fd9... [email protected] github.com
github.com/modelcontextprotocol/java-sdk/security/advisories/GHSA-4x8c-5... [email protected] github.com
github.com/modelcontextprotocol/java-sdk/releases/tag/v0.18.4 [email protected] github.com
github.com/modelcontextprotocol/java-sdk/commit/6a41dedaa0625551582d8247... [email protected] github.com
github.com/modelcontextprotocol/java-sdk/releases/tag/v1.1.4 [email protected] github.com
github.com/modelcontextprotocol/java-sdk/releases/tag/v2.0.1 [email protected] github.com
github.com/modelcontextprotocol/java-sdk/commit/1499df22c7023aa257223143... [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report