MediumVulnerability
CVE-2026-53937: MCP Kotlin SDK unbounded memory growth in stdio ReadBuffer
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-53937
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
MCP Kotlin SDK versions 0.7.0 through 0.12.0 contain an unbounded buffer in `ReadBuffer.append` (kotlin-sdk-core, ReadBuffer.kt), which writes every stdio chunk into a `kotlinx.io.Buffer` with no size cap. Frames are only extracted on a `\n` (0x0a) byte, so a peer that streams bytes without a newline grows the buffer until the JVM or host process is OOM-killed. The growth is amplified by `StdioServerTransport` and `StdioClientTransport`, which queue raw chunks through an unlimited channel with no backpressure or size guard, making this a remote pre-auth denial of service when stdin is fed by an untrusted producer.
Mitigation
Fixed in 0.13.0.
Topics
Related items
- MediumCVE-2026-143823: MLflow denial of service via regex backtracking in skill registration errorsSimilar attack, NVD/CVE Database
- MediumAutonomous AI attack targeted Perplexity to steal cloud credentialsSimilar attack, BleepingComputer
- HighCVE-2026-76813: CKAN MCP Server denial of service through unbounded response decompressionSimilar attack, NVD/CVE Database
- MediumCVE-2026-142225: Bytebase DBHub regular expression denial of service via search_objectsSimilar attack, NVD/CVE Database
- HighCVE-2026-59345: ExtractedTextFormatter denial of service when processing untrusted document textSimilar attack, NVD/CVE Database