MCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS)
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MLflow | ruby-sdk | before 0.23.0 | 0.23.0 | Patch available | CNA |
| — | mcp (RubyGems) | before 0.23.0 | 0.23.0 | Patch available | GHSA-7683-3w9x-ch42 |
- ruby-sdk VendorMLflow Affected before 0.23.0 Fixed in 0.23.0 Patch available CNA
- mcp (RubyGems) Vendor— Affected before 0.23.0 Fixed in 0.23.0 Patch available GHSA-7683-3w9x-ch42
Remediation
- Fix · CNA ruby-sdk (modelcontextprotocol) Fixed in 0.23.0
- Fix · GHSA-7683-3w9x-ch42 mcp (RubyGems) Fixed in 0.23.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-63119
- 2026-10-03 Alias added: GHSA-7683-3w9x-ch42
References
Other 4
- https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-7683-3w9x-ch42
- https://github.com/modelcontextprotocol/ruby-sdk/commit/267b8fa6285453525c81ce43db6b7dcd7a8a8c2f
- https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0
- https://github.com/modelcontextprotocol/ruby-sdk
More MLflow vulnerabilities
- TI-2026-46366 Server-side request forgery in mlflow KEVCVSS 3.1CRITICAL 9.3
- TI-2023-03518 Absolute Path Traversal in mlflow/mlflow CVSS 3.1CRITICAL 10.0
- TI-2023-01113 Path Traversal: '\..\filename' in mlflow/mlflow CVSS 3.1CRITICAL 9.8
- TI-2025-31759 Redis Lua Use-After-Free may lead to remote code execution CVSS 3.1CRITICAL 10.0
- TI-2026-81527 Code execution via scorer deserialization in MLflow servers CVSS 3.1CRITICAL 9.8
- TI-2025-14028 Command Injection in mlflow/mlflow CVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-63119 · CVE Program
- CVE-2026-63119 · NVD
- FIRST EPSS
- GHSA-7683-3w9x-ch42 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences