{"schemaVersion":3,"id":"CVE-2026-53937","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"MCP Kotlin SDK is the Kotlin Multiplatform software development kit for the Model Context Protocol. In versions 0.7.0 through 0.12.0, `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 `kotlinx.io.Buffer` with no size cap. Frames are extracted from that buffer only when a `\\n` (0x0a) byte is observed. A peer that streams bytes without ever sending a newline causes the internal buffer to grow indefinitely until the JVM (or the surrounding host process) is OOM-killed. The leak is amplified by `StdioServerTransport` and `StdioClientTransport`, which both queue raw chunks through a `kotlinx.coroutines.channels.Channel<ByteArray>(Channel.UNLIMITED)` and then call `readBuffer.append(chunk)` without backpressure or size guard. This is a remote-pre-auth denial of service whenever an SDK stdio server's stdin is fed by an untrusted or attacker-controlled producer (for example: a host program that exec's the MCP server as a subprocess and pipes through bytes received from a network peer, or a sidecar wrapper that proxies bytes from an HTTP endpoint to the stdio transport). Version 0.13.0 fixes the issue.","dates":{"published":"2026-09-08T23:21:46.554Z","modified":"2026-09-14T12:09:30.392Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.2,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.2,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00186,"percentile":0.07712,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00186},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00186,"percentile":0.07712}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00186,"percentile":0.07712}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"modelcontextprotocol","product":"io.modelcontextprotocol:kotlin-sdk","name":"io.modelcontextprotocol:kotlin-sdk","label":"io.modelcontextprotocol:kotlin-sdk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.13.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.13.0","eol":null,"hubHref":null},{"vendor":"modelcontextprotocol","product":"io.modelcontextprotocol:kotlin-sdk-client","name":"io.modelcontextprotocol:kotlin-sdk-client","label":"io.modelcontextprotocol:kotlin-sdk-client","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.7.0, < 0.13.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.7.0, < 0.13.0","eol":null,"hubHref":null},{"vendor":"modelcontextprotocol","product":"io.modelcontextprotocol:kotlin-sdk-core","name":"io.modelcontextprotocol:kotlin-sdk-core","label":"io.modelcontextprotocol:kotlin-sdk-core","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.13.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.13.0","eol":null,"hubHref":null},{"vendor":"modelcontextprotocol","product":"io.modelcontextprotocol:kotlin-sdk-server","name":"io.modelcontextprotocol:kotlin-sdk-server","label":"io.modelcontextprotocol:kotlin-sdk-server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.7.0, < 0.13.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.7.0, < 0.13.0","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/modelcontextprotocol/kotlin-sdk/security/advisories/GHSA-74gp-qhv5-v493","label":"github.com/modelcontextprotocol/kotlin-sdk/security/advisories/GHSA-74gp-qhv5-v493","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/modelcontextprotocol/kotlin-sdk/commit/6e6f80512fb8fcc9f3c031cfd693ccbcf9c4aaab","label":"github.com/modelcontextprotocol/kotlin-sdk/commit/6e6f80512fb8fcc9f3c031cfd693ccbcf9c4aaab","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/modelcontextprotocol/kotlin-sdk/blob/6d5bac1/kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/shared/ReadBuffer.kt","label":"github.com/modelcontextprotocol/…","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/modelcontextprotocol/kotlin-sdk/releases/tag/0.13.0","label":"github.com/modelcontextprotocol/kotlin-sdk/releases/tag/0.13.0","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-08T23:21:46.554Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-14T12:09:30.392Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T07:54:16.126Z","stale":false,"partial":false}}