Skip to main content
EPSS 0.1%top 97%

CVE-2026-63119: CWE-400: Uncontrolled Resource Consumption in modelcontextprotocol ruby-sdk

0
Medium
VulnerabilityCVE-2026-63119cvecve-2026-63119cwe-400cwe-770
Published: 07/29/2026 (07/29/2026, 19:12:07 UTC)
Source: CVE Database V5
Vendor/Project: modelcontextprotocol
Product: ruby-sdk

Description

MCP Ruby SDK is the official Ruby SDK for Model Context Protocol servers and clients. Prior to 0.23.0, MCP::Server::Transports::StdioTransport and MCP::Client::Stdio in the mcp gem use IO#gets without a byte limit, allowing a peer that sends data without a newline to exhaust process memory. This issue is fixed in version 0.23.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

modelcontextprotocol

ruby-sdk

Affected versions
<0.23.0
mcp
pkg:gem/mcp
Affected versions
<0.23.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: 07/29/2026, 19:37:39 UTC

Technical Analysis

The modelcontextprotocol Ruby SDK versions before 0.23.0 contain an uncontrolled resource consumption vulnerability (CWE-400) due to the use of IO#gets without a byte limit in MCP::Server::Transports::StdioTransport and MCP::Client::Stdio. This allows a remote peer to send data without a newline character, causing the process to consume excessive memory and potentially crash. The issue is addressed in version 0.23.0 of the SDK.

Potential Impact

An attacker who can send data to the affected components can cause the process to consume excessive memory, leading to denial of service conditions. There is no impact on confidentiality or integrity reported. The CVSS v3.1 base score is 6.2 (medium), with the vector indicating local attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality or integrity impact, and high availability impact.

Mitigation Recommendations

Upgrade to version 0.23.0 or later of the modelcontextprotocol Ruby SDK, where this vulnerability is fixed. No other official remediation or temporary fixes are indicated. Patch status is not explicitly stated as 'patchAvailable' but the fix is confirmed in version 0.23.0.

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-07-15T16:54:55.816Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a6a53159c2644c7f8f0f102

Added to database: 07/29/2026, 19:23:01 UTC

Last enriched: 07/29/2026, 19:37:39 UTC

Last updated: 09/12/2026, 22:01:35 UTC

Views: 68

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