MCP-Framework: Unbounded memory allocation in readRequestBody allows denial of service via HTTP transport
CVE-2026-39313 · GHSA-353c-v8x9-v7c3 · published 2026-04-16 · updated 2026-04-24
- Severity
- High
- CVSS score
- 8.7
- Chance of exploitation (EPSS)
- 0.47%
- Fixed in
- 0.2.22
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Partial
- CISA SSVC
Denial of Service: Any mcp-framework HTTP server can be crashed by a single large POST request to /mcp No authentication required: readRequestBody() executes before any auth checks (auth is opt-in, default is no auth) Dead config: maxMessageSize exists but is never enforced, giving a false sense of security Affected: All applications using mcp-framework HttpStreamTransport (60,000 weekly npm downloads) CWE-770: Allocation of Resources Without Limits or Throttling Suggested CVSS 3.1: 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Upgrade mcp-framework to 0.2.22 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| mcp-framework | npm | <= 0.2.21 | 0.2.22 |
- HightsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS@tsparticles/mcp-server
- HighMissing request-wide media budget allows single-request frontend resource exhaustionvllm
- HighMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length@modelcontextprotocol/hono, @modelcontextprotocol/node, @modelcontextprotocol/sdk, @modelcontextprotocol/server
- HighvLLM : DoS via unvalidated mm_processor_kwargs in multimodal image processors (Isaac, InternVL, H2OVL, etc.)vllm
- HighMCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation@modelcontextprotocol/sdk, @modelcontextprotocol/server
- HighFrame-count cap bypass in VideoMediaIO.load_base64 for video/jpeg via media_io_kwargs.video.num_framesvllm
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.