7.5High

CVE-2026-108714MCP Kotlin SDK through 0.15.0 Memory Exhaustion via Application.mcpWebSocket

modelcontextprotocol kotlin-sdk Published: (1 month ago)

Description

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.

Weakness (CWE): CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
modelcontextprotocol kotlin-sdk ≤ 0.15.0

References and patches