VYPR
Moderate severityNVD Advisory· Published Jul 29, 2026· Updated Jul 29, 2026

MCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS)

CVE-2026-63119

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
mcpRubyGems
< 0.23.00.23.0

Affected products

1

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.