{"id":"CVE-2026-108714","revision":"0a1ce1b921324c0397d672b3728e4b75","records":[{"revision":"0a1ce1b921324c0397d672b3728e4b75","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-108714","aliases":[],"title":"MCP Kotlin SDK through 0.15.0 Memory Exhaustion via Application.mcpWebSocket","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.","state":0,"publishedAt":"2026-10-11T12:19:27.291+00:00","modifiedAt":"2026-10-14T13:23:01.451+00:00","affected":[{"ecosystem":"Vendor product","name":"kotlin-sdk","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"modelcontextprotocol\",\n                    \"product\": \"kotlin-sdk\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.15.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:maven/io.modelcontextprotocol/kotlin-sdk-server\",\n                    \"repo\": \"https://github.com/modelcontextprotocol/kotlin-sdk\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":8.7,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://hackmd.io/@haind/mcp-kotlin-sdk-websocket-frame-allocation-dos","https://github.com/modelcontextprotocol/kotlin-sdk/blob/0.15.0/kotlin-sdk-server/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/server/WebSocketMcpKtorServerExtensions.kt#L41-L63","https://github.com/modelcontextprotocol/kotlin-sdk/blob/0.15.0/kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/shared/WebSocketMcpTransport.kt#L60-L85","https://github.com/modelcontextprotocol/kotlin-sdk","https://www.vulncheck.com/advisories/mcp-kotlin-sdk-through-0.15.0-memory-exhaustion-via-application-mcpwebsocket"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-108714","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-108714","identifiers":["CVE-2026-108714"]},"retained":false,"historicalAffected":[]}],"coverage":[]}