highresolved

MCP TypeScript request validation can exhaust server memory

A request can satisfy the default byte limit yet cause excessive memory use while the SDK validates it. Size checks alone do not establish a safe bound on the cost of processing an untrusted request.

A request can satisfy the default byte limit yet cause excessive memory use while the SDK validates it. Size checks alone do not establish a safe bound on the cost of processing an untrusted request.

This is a maintainer-documented vulnerability disclosure, not evidence of exploitation against a named customer. Affected ranges: @modelcontextprotocol/sdk >= 1.3.0, < 1.32.0; @modelcontextprotocol/server >= 2.0.0, < 2.3.0. The maintainer lists patched releases: @modelcontextprotocol/sdk 1.32.0; @modelcontextprotocol/server 2.3.0.

Takeaway

Check the deployed package and its configuration against the advisory. Apply the listed fix on a supported release line and verify the trust boundary with an untrusted client or repository.

Sources

mcptsghsa-46jr-4wx8-v453CVE-2026-111768