Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-53937: CWE-400: Uncontrolled Resource Consumption in modelcontextprotocol io.modelcontextprotocol:kotlin-sdk

0
Medium
VulnerabilityCVE-2026-53937cvecve-2026-53937cwe-400cwe-770
Published: 09/08/2026 (09/08/2026, 23:21:46 UTC)
Source: CVE Database V5
Vendor/Project: modelcontextprotocol
Product: io.modelcontextprotocol:kotlin-sdk

Description

CVE-2026-53937 is a denial of service vulnerability in the MCP Kotlin SDK (io.modelcontextprotocol:kotlin-sdk) versions 0.7.0 through 0.12.0. The issue arises because the ReadBuffer.append method writes incoming byte chunks into an unbounded buffer without size limits, only extracting frames when a newline byte is received. An attacker can exploit this by streaming bytes without newlines, causing the buffer to grow indefinitely and ultimately leading to an out-of-memory condition that crashes the JVM or host process. This vulnerability affects scenarios where the SDK stdio server's stdin is fed by untrusted or attacker-controlled input. The issue is fixed in version 0.13.0.

CVSS v3.1

Score 6.2medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

io.modelcontextprotocol/kotlin-sdk
pkg:maven/io.modelcontextprotocol/kotlin-sdk
Affected versions
<0.13.0 >=0.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 23:37:52 UTC

Technical Analysis

The MCP Kotlin SDK versions 0.7.0 through 0.12.0 contain an uncontrolled resource consumption vulnerability (CWE-400) in the ReadBuffer.append function. Incoming byte chunks from stdio transport are appended to a kotlinx.io.Buffer without any size cap, and frames are only extracted upon receiving a newline byte (0x0a). If a peer continuously streams bytes without newlines, the internal buffer grows without bound, causing memory exhaustion and potential JVM or host process termination. The problem is worsened by StdioServerTransport and StdioClientTransport components that queue raw byte chunks through an unbounded channel and append them without backpressure or size checks. This results in a remote pre-authentication denial of service when the SDK stdio server's stdin is fed by untrusted sources, such as subprocesses or sidecar wrappers proxying network data. The vulnerability is resolved in version 0.13.0.

Potential Impact

An attacker can cause a denial of service by sending a continuous stream of bytes without newline characters to the MCP Kotlin SDK stdio server, leading to unbounded memory growth and eventual out-of-memory termination of the JVM or host process. There is no impact on confidentiality or integrity, only availability is affected.

Mitigation Recommendations

Upgrade to version 0.13.0 or later, which fixes the uncontrolled resource consumption issue. Until then, avoid exposing the SDK stdio server's stdin to untrusted or attacker-controlled input sources. Patch status is not explicitly stated in a vendor advisory, but version 0.13.0 is confirmed to fix the issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-11T15:46:12.318Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6aa098c9acd9273b495cca7f

Added to database: 09/08/2026, 23:22:49 UTC

Last enriched: 09/08/2026, 23:37:52 UTC

Last updated: 09/09/2026, 00:17:22 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses