# CVE-2026-63119: MCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS)

- Priority: **Routine**
- Reason: Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-29 · Modified: 2026-07-29
- Aliases: GHSA-7683-3w9x-ch42
- Record: https://cvemate.com/vulnerability/CVE-2026-63119 · JSON: https://cvemate.com/vulnerability/CVE-2026-63119/json

## Description

```text
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.
```

## Signals

- CVSS: 6.2 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.188%, percentile 8.77%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- RubyGems mcp (RubyGems): \< 0.23.0
- modelcontextprotocol ruby-sdk: \< 0.23.0

## References

- <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://nvd.nist.gov/vuln/detail/CVE-2026-63119>
- <https://github.com/modelcontextprotocol/ruby-sdk>

---

Data as of 2026-12-05T07:39:13.088Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
