Summary
CVE-2026-108714 is an uncontrolled memory allocation vulnerability (CWE-770) in the MCP Kotlin SDK through version 0.15.0. Remote clients can exhaust server memory because Application.mcpWebSocket installs Ktor WebSockets without a maxFrameSize limit, resulting in denial of service. The CVE record assigns a High severity (CVSS v4.0 score 8.7).
Technical details
- Root cause:
Application.mcpWebSocketinstalls the Ktor WebSockets plugin without configuring amaxFrameSizelimit, so WebSocket frame sizes are not bounded (CWE-770, Allocation of Resources Without Limits or Throttling). - Trigger conditions: The server exposes an MCP endpoint through
Application.mcpWebSocketinkotlin-sdk-server. - Attack vector: Network; no privileges and no user interaction required, low attack complexity.
- Impact: A remote client can cause the server to allocate excessive memory, exhausting it and impacting availability. The CVE record rates confidentiality and integrity impact as none.
Affected software
- MCP Kotlin SDK (
io.modelcontextprotocol/kotlin-sdk-server) versions 0 through 0.15.0
Severity
- CVSS v4.0: 8.7 (High) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Mitigation and recommended actions
- Immediate: The CVE record does not identify a fixed version. Check the vendor repository (modelcontextprotocol/kotlin-sdk) for a release later than 0.15.0 that addresses this issue and upgrade when available.
- If no patch is available: identify internet-exposed MCP servers built on the Kotlin SDK that use
mcpWebSocket, and restrict network access to trusted clients only (for example via authentication at a reverse proxy or network ACLs). Where your infrastructure supports it, limit WebSocket frame/message sizes at a proxy or gateway in front of the server, and set memory limits and monitoring on the service so exhaustion is contained and detected.

