CVE-2026-108714
MCP Kotlin SDK through 0.15.0 contains an uncontrolled memory …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/modelcontextprotocol/kotlin-sdk
- github.com/modelcontextprotocol/kotlin-sdk/blob/0.15.0/kotlin-sdk-core/src/commonMain/kotl
- github.com/modelcontextprotocol/kotlin-sdk/blob/0.15.0/kotlin-sdk-server/src/commonMain/ko
- hackmd.io/@haind/mcp-kotlin-sdk-websocket-frame-allocation-dos
- www.vulncheck.com/advisories/mcp-kotlin-sdk-through-0.15.0-memory-exhaustion-via-applicati
- nvd.nist.gov/vuln/detail/CVE-2026-108714
- cve.org/CVERecord?id=CVE-2026-108714
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.