← Back to search

CVE-2026-108714

7.5 HIGHpublic exploit available

Published 2026-10-11 · Updated 2026-10-16

AI risk analysis

Summary
The MCP Kotlin SDK has an uncontrolled memory allocation vulnerability where WebSocket connections can be exploited to allocate massive heap memory blocks by sending small frame headers declaring payloads near 2 GiB. This allows attackers to exhaust server memory and cause denial of service.
Exploitability
Exploitation is straightforward with minimal preconditions - attackers only need to establish a WebSocket connection and send specially crafted frames with large payload size declarations, requiring no authentication or complex setup.
Blast radius
The vulnerability affects any server running MCP Kotlin SDK 0.15.0 or earlier that accepts WebSocket connections, potentially causing widespread service disruption across applications using this SDK for real-time communication.
Detection
Monitor for unusual WebSocket frame processing patterns in application logs, particularly when large frame headers are received without corresponding payload data, and watch for sudden increases in heap memory usage or garbage collection pauses.
Prioritized remediation
Upgrade to MCP Kotlin SDK version 0.15.1 or later which includes the fix for uncontrolled memory allocation in WebSocket frame handling.
websocketmemorydossdk

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

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

Weaknesses

CWE-770

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.