GHSA-c9f9-cp8h-jcj5: Unbounded response body buffering in Streamable HTTP clients
Published 2026-11-05 · Updated 2026-11-09 · Also known as RUSTSEC-2026-0462
Summary
The rmcp crate contains unbounded response body buffering in its Streamable HTTP clients, allowing memory exhaustion via malicious server responses. Maintainers of applications using rmcp versions 0.2.0 up to 3.9.0 should update immediately.
Who is affected
Applications using the affected reqwest or Unix socket Streamable HTTP clients in rmcp are vulnerable to denial of service attacks. A malicious or compromised MCP server can supply an endless response body or streaming whitespace during the initialization phase before authentication, causing the client process to run out of memory and terminate the host application.
Exploitability
The vulnerability is exploitable over the network with low attack complexity and requires no privileges, though user interaction or connection to a malicious/compromised server is required. It carries a CVSS base score of 6.5, impacting availability with no confidentiality or integrity impact.
Remediation
- Upgrade the crates.io rmcp package to version 3.9.0 or later.
- If upgrade is not possible, use a custom StreamableHttpClient that enforces a response body limit or connect only to trusted MCP servers.
How to check your project
- Check Cargo.toml and Cargo.lock files to determine if the rmcp crate is used within the version range 0.2.0 up to 3.9.0.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | rmcp |
>= 0.2.0, < 3.9.0 | 3.9.0 | cargo update -p rmcp --precise 3.9.0 |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
What packages are affected?
The crates.io package rmcp is affected for versions introduced at 0.2.0 and fixed in 3.9.0.
Are server-sent event streams affected?
No, server-sent event streams are not affected because each event is capped by max_sse_event_size and events are not accumulated.
Is this vulnerability actively exploited in the wild?
There is no documentation indicating CISA Known Exploited Vulnerabilities status for this issue.
Original advisory description
References
- PACKAGE https://crates.io/crates/rmcp
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0462.html
- WEB https://github.com/modelcontextprotocol/rust-sdk/commit/3e0156c1eaf1573a1b878e2a8998d2fa2d0b1439
Source records: RUSTSEC-2026-0462 (OSV.dev).