CVE-2026-108395Modelcontextprotocol Io.modelcontextprotocol.sdk:mcp allocation of resources without limits
CVSS score
7.5
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.61%
0.61% chance of exploitation in the next 30 days, higher than 50.0% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running modelcontextprotocol Io.modelcontextprotocol.sdk:mcp-core and compare its version with the affected versions.
Update to a fixed version
- Update Io.modelcontextprotocol.sdk:mcp-core to 0.13.0, 0.18.4, 1.1.4, 2.0.1 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| modelcontextprotocol Io.modelcontextprotocol.sdk:mcp | >= 0.8.0, < 0.13.0 |
| modelcontextprotocol Io.modelcontextprotocol.sdk:mcp-core | >= 0.13.0, < 0.18.4 · >= 1.0.0, < 1.1.4 · >= 2.0.0-M1, < 2.0.1 |
Weakness
- CWE-770 allocation of resources without limits
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-108395 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-108395?
CVE-2026-108395 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Modelcontextprotocol Io.modelcontextprotocol.sdk:mcp (>= 0.8.0, < 0.13.0), Modelcontextprotocol Io.modelcontextprotocol.sdk:mcp-core (>= 0.13.0, < 0.18.4; >= 1.0.0, < 1.1.4; >= 2.0.0-M1, < 2.0.1)
Is there a patch for CVE-2026-108395?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/modelcontextprotocol/java-sdk/commit/1499df22c7023aa257223143a5dcf5b1db7ef80d
- github.com/modelcontextprotocol/java-sdk/commit/6a41dedaa0625551582d8247e5a4d78eae1131b2
- github.com/modelcontextprotocol/java-sdk/commit/8c0fdd1b1f76adba3ce7945d29f73fa2ddc66598
- github.com/modelcontextprotocol/java-sdk/commit/9e4d5fa827b6ba69457f5fd93573184789528efa
- github.com/modelcontextprotocol/java-sdk/releases/tag/v0.18.4
- github.com/modelcontextprotocol/java-sdk/releases/tag/v1.1.4
- github.com/modelcontextprotocol/java-sdk/releases/tag/v2.0.1
- github.com/modelcontextprotocol/java-sdk/security/advisories/GHSA-4x8c-5vv7-973f
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.