Unbounded response body buffering in Streamable HTTP clients
Severity and exploitation
KEV coverage does not rule out exploitation.
Assessment vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HSeverity
medium6.5CVSS measures technical severity, not the likelihood of an attack.
Known exploitation
KEV status unavailable or stale
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Package fixes recorded
Fix versions are recorded for 1 of 1 mapped packages. Check each release branch and any separate product guidance.
What this means
Before 3.9.0, the built-in Streamable HTTP clients in rmcp read non-streaming HTTP response bodies into memory with no size limit. Both the reqwest client (transport-streamable-http-client-reqwest) and the Unix socket client (transport-streamable-http-client-unix-socket) were affected:
Source excerpt · OSVAttack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
Packages
Compare each installed version with the publisher’s affected ranges. Where a fix is recorded, choose the appropriate release branch and test compatibility before upgrading.
| Affected range | Recorded fix |
|---|---|
| From 0.2.0 before 3.9.0Semantic versions | 3.9.0 |
Version evidence: OSV · RUSTSEC-2026-0462
View original version evidence (0 explicit versions)
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
Use the recorded fix for your release branch. Review the publisher’s instructions and test compatibility before upgrading.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
Before 3.9.0, the built-in Streamable HTTP clients in rmcp read non-streaming
HTTP response bodies into memory with no size limit. Both the reqwest client
(transport-streamable-http-client-reqwest) and the Unix socket client
(transport-streamable-http-client-unix-socket) were affected:
application/jsonresponses to POST requests were read in full before parsing.- Non-2xx responses were read in full for error reporting.
A malicious or compromised MCP server can answer with a body that never ends,
for example a chunked application/json response that streams whitespace. The
client buffers it until the process runs out of memory. This works during
initialize, before any authentication. On desktop or agent hosts, this
terminates the whole host application.
Server-sent event streams are not affected. Each event is already capped by
max_sse_event_size, and events are not accumulated.
The flaw was corrected in 3.9.0. Successful JSON bodies are limited to 16 MiB
and non-success bodies to 64 KiB. Bytes are counted while streaming, after
decompression. An oversized Content-Length is rejected before the body is
read, and an oversized body is rejected with
StreamableHttpError::ResponseBodyTooLarge instead of being truncated.
If you cannot upgrade, use a custom StreamableHttpClient that enforces a
response body limit, or connect only to trusted MCP servers.
References
3 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
No official CVE record has been imported. Use the source links below for the original advisory.
cve.new JSON →Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.
Related advisories
Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.
OAuth client SSRF filter checks host strings, not resolved addresses
From 2.0.0 until 3.7.0, the rmcp OAuth client decided whether it may fetch an authorization server's metadata URL by inspecting only the host string. It rejected literal loopback, private and link-local IP addresses and known cloud metadata hostnames, but it did not resolve other hostnames. A hostname that resolves to an internal address passed the check.
Recorded fixes — rmcp: 3.7.0. Check your release branch.
Exploitation not established
Unbounded tool schema cache in Streamable HTTP server transport
From 3.0.0 until 3.6.0, StreamableHttpService cached the result of ServerHandler::get_tool in a process-wide map keyed by the tool name of incoming tools/call requests. The map had no size limit and no eviction, and it also cached unknown tool names.
Recorded fixes — rmcp: 3.6.0. Check your release branch.
Exploitation not established
rmcp OAuth client fetches server-controlled resource_metadata URLs
The rmcp OAuth client accepts a server-controlled resource_metadata= URL from the WWW-Authenticate header and fetches it without same-origin or private-network validation.
Recorded fixes — rmcp: 2.0.0. Check your release branch.
Exploitation not established