CVE-2026-63119
MEDIUM 6.2CVSS 3.1MCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS)
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.
- Published
- 29 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-7683-3w9x-ch42
- Sources
- NVDJSONOSV GHSA-7683-3w9x-ch42JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | mcp | < 0.23.0 | 0.23.0 |
References
- https://github.com/modelcontextprotocol/ruby-sdk/commit/267b8fa6285453525c81ce43db6b7dcd7a8a8c2f · WEB
- https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0 · WEB
- https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-7683-3w9x-ch42 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-63119 · ADVISORY
- https://github.com/modelcontextprotocol/ruby-sdk · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 29 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Jul 2026)