Skip to main content
← All vulnerabilities
CVE-2026-63119GHSA-7683-3W9X-CH42

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.23.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • modelcontextprotocol ruby-sdk

    fixed in 0.23.0

  • mcpRubyGems

    fixed in 0.23.0

References 3

GitHub · modelcontextprotocol/ruby-sdk