CVE-2026-63119 MCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS)
MediumCVSS 6.2
EPSS 0.19%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rubygems mcp(RubyGems) | < 0.23.0; <= 0.22.0; = 0.1.0; = 0.2.0 +23 more | 0.23.0 | Fixed |
| modelcontextprotocol ruby-sdk | = < 0.23.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| modelcontextprotocol ruby-sdk | = < 0.23.0 | No fix listed |
| rubygems mcp(RubyGems) | < 0.23.0 | 0.23.0 |
| rubygems mcp(RubyGems) | = 0.1.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.10.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.11.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.12.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.13.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.14.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.15.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.16.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.17.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.18.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.19.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.2.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.20.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.21.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.22.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.3.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.4.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.5.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.6.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.7.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.7.1 | No fix listed |
| rubygems mcp(RubyGems) | = 0.8.0 | No fix listed |
| rubygems mcp(RubyGems) | = 0.9.0 | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems mcp(RubyGems) | = 0.9.1 | No fix listed |
| rubygems mcp(RubyGems) | = 0.9.2 | No fix listed |
| rubygems mcp(RubyGems) | <= 0.22.0 | No fix listed |
References
- https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-7683-3w9x-ch42 exploit vendor-advisory
- https://github.com/modelcontextprotocol/ruby-sdk/commit/267b8fa6285453525c81ce43db6b7dcd7a8a8c2f patch
- https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com