| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-63658 |
| Date (index) | 2026-09-03 |
| Affected product (index) | Unauthenticated Remote Denial of Service in MCP Kotlin SDK Streamable HTTP transport (request body size limit bypass) |
| GHSA ID | GHSA-f47c-p7wj-q7gx |
| OWASP MCP Top 10 (2025) | MCP07 — Insufficient Authentication & Authorization |
| Published / disclosed | 2026-09-03 |
| Ecosystem | Maven |
| Component | io.modelcontextprotocol:kotlin-sdk |
| EPSS score | Not scored (FIRST EPSS, 2026-11-09) |
| CVSS score | 7.5 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CWE | CWE-400, CWE-770 |
| Affected versions | io.modelcontextprotocol:kotlin-sdk <= 0.13.0 |
| Fixed versions | 0.14.0 |
| Fix status | Patched in the versions named above |
| Exploit status | Public advisory. This note does not include exploit steps. |
| Notes | Updated on 2026-11-09 from the indexed advisory. The CVE record was not available from the MITRE CVE API. |
POST carrying a chunked request body. The transport’s maxRequestBodySize limit (default 4 MB) is enforced only against the Content-Length header plus a post-read length check. A request that uses Transfer-Encoding: chunked (or HTTP/2, which has no Content-Length) bypasses the pre-read guard, and receiveText() then buffers the entire attacker-controlled body in memory before the size check can run, exhausting the JVM heap (java.lang.OutOfMemoryError) and taking the server process down for all clients. The same root cause is also present, in a stronger form (no size limit at all), in the legacy SSE transport. ## Details File: kotlin-sdk-server/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/server/StreamableHttpServerTransport.kt Function: parseBody() (≈ lines 705–725), reached from handlePostRequest(). ```kotlin private suspend fun parseBody(call: ApplicationCall): ListDepends on deployment. Typical MCP cases are a reachable HTTP or SSE listener, a malicious remote MCP server, a poisoned project configuration, or a person opening attacker-influenced content.
The published weakness mapping is CWE-400, CWE-770. Use the linked advisory for the upstream root cause.
MCP connects a model to tools, files, and credentials on a host or network. A flaw in transport checks, path checks, command handling, or token binding can become code execution, credential exposure, or access to another user’s session.
File and function names belong in the linked upstream advisory and patch. This index does not repeat exploit inputs.
Upgrade to the patched version listed above. Apply any extra setting the advisory says is required after the upgrade.