Skip to content
MediumVulnerability

CVE-2026-63119: MCP Ruby SDK memory exhaustion via unbounded stdio reads

Identifier
CVE-2026-63119
Published
Record updated
View JSON
Affected
  • mcp <= 0.22.0
Fixed in
0.23.0
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

The mcp gem's StdioTransport in MCP::Server::Transports and MCP::Client::Stdio, in the MCP Ruby SDK prior to 0.23.0, reads input with IO#gets and no byte limit. A peer that sends data without a newline can exhaust process memory.

Mitigation

Fixed in version 0.23.0.