{"id":"CVE-2026-67432","published":"2026-07-29T19:17:46Z","modified":"2026-07-29T19:34:24Z","title":"MCP Ruby SDK: Unbounded JSON-RPC request body causes uncontrolled memory allocation in StreamableHTTPTransport","vendor":"modelcontextprotocol","product":"ruby-sdk","tier":"tail","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::StreamableHTTPTransport in the mcp gem reads and parses an entire JSON-RPC POST body without a size limit, allowing an unauthenticated remote attacker to exhaust process memory. This issue is fixed in version 0.23.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00784,"percentile":0.52573,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-h669-8m4g-r2hc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/modelcontextprotocol/ruby-sdk/commit/772e0cb1f9db69312006926eee59a7287ad50166","tags":["x_refsource_MISC"]},{"url":"https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":10.51},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"modelcontextprotocol","affectedVersions":[{"vendor":"modelcontextprotocol","product":"ruby-sdk","versions":["< 0.23.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-29T19:34:08.331178Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"mcp","vulnerableRanges":["<0.23.0"],"patched":["0.23.0"],"from":["GHSA-h669-8m4g-r2hc"],"provenance":"source"}],"summary":{"text":"The flaw is in the StreamableHTTPTransport component (MCP::Server::Transports::StreamableHTTPTransport) of the mcp gem in the MCP Ruby SDK, which reads and parses entire JSON-RPC POST bodies without any size limit. An unauthenticated remote attacker with network access to the transport can send oversized request bodies to exhaust the process's memory, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:35Z"},"euvd":{"id":"EUVD-2026-50502","exploited":false,"provenance":"source"}}