← AI agent vulnerabilities

CVE-2026-108714

MCP Kotlin SDK

7.5
Severity
High
Published
October 11, 2026
Last modified
October 16, 2026

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.

CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

References

CVE-2026-108714 on NVD

Listed in

HighMCP servers

More MCP Kotlin SDK CVEs

Sep 9
CVE-2026-539376.2

`ReadBuffer.append` in `kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/shared/ReadBuffer.kt` writes every chunk of bytes received from the stdio transport into a…