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

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-29T19:12:07.687Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-7683-3w9x-ch42
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-7683-3w9x-ch42> (exploit, web)
- <https://github.com/modelcontextprotocol/ruby-sdk/commit/267b8fa6285453525c81ce43db6b7dcd7a8a8c2f> (web)
- <https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63119> (advisory)
- <https://github.com/modelcontextprotocol/ruby-sdk> (package)

## Sources

- CVE List: [CVE-2026-63119](https://www.cve.org/CVERecord?id=CVE-2026-63119), CVE Terms of Use, modified 2026-07-29
- GitHub Advisory Database: [GHSA-7683-3w9x-ch42](https://github.com/advisories/GHSA-7683-3w9x-ch42), CC-BY-4.0, modified 2026-07-30
- NVD: [CVE-2026-63119](https://nvd.nist.gov/vuln/detail/CVE-2026-63119), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-63119 · Whole record: https://cve.day/CVE-2026-63119.json · Rebuilt by cve.day 2026-11-25T22:59:30.481Z
