CVE-2026-108714MCP Kotlin SDK through 0.15.0 Memory Exhaustion via Application.mcpWebSocket
Beschreibung
MCP Kotlin SDK through 0.15.0 contains an uncontrolled memory allocation vulnerability that allows remote clients to exhaust server memory because Application.mcpWebSocket installs Ktor WebSockets without a maxFrameSize limit. Attackers can send small frame headers declaring payloads near 2 GiB over one or a few connections, forcing huge heap allocations and causing denial of service.
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
| Hersteller | Produkt | Versionen | |
|---|---|---|---|
| modelcontextprotocol | kotlin-sdk | ≤ 0.15.0 |
Referenzen und Patches
- https://hackmd.io/@haind/mcp-kotlin-sdk-websocket-frame-allocation-dos third-party-advisory
- https://github.com/modelcontextprotocol/kotlin-sdk/blob/0.15.0/kotlin-sdk-server/src/commonMain/kotlin/io/mod… technical-description
- https://github.com/modelcontextprotocol/kotlin-sdk/blob/0.15.0/kotlin-sdk-core/src/commonMain/kotlin/io/model… technical-description
- https://github.com/modelcontextprotocol/kotlin-sdk product
- VulnCheck Advisory: MCP Kotlin SDK through 0.15.0 Memory Exhaustion via Application.mcpWebSocket third-party-advisory