Intel

AIKIDO-2026-935066

mcp-core is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-4x8c-5vv7-973f Published Aug 21, 2026

75

High Risk

This Affects:

JAVAmcp-core
0.18.0 - 0.18.3
Fixed in 0.18.4
1.0.0 - 1.1.3
Fixed in 1.1.4
2.0.0 - 2.0.0
Fixed in 2.0.1
Are you affected? Scan for Free

TL;DR

The Streamable HTTP, Stateless, and SSE server transports buffer an entire incoming HTTP request body into memory before parsing it, without any limit on how large that body can be. A request that streams a large body using chunked transfer encoding bypasses the Content-Length check and is read in an unbounded loop. Processing such a request drives heap growth until the JVM throws OutOfMemoryError, denying service to other clients. The fix adds a configurable request body size limit and rejects oversized requests with an HTTP 413 response.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you expose one of the HTTP server transports without enforcing request body size limits.

Background info

mcp-core is vulnerable to Denial of Service (DoS) in versions 0.18.0 - 0.18.3, 1.0.0 - 1.1.3 and 2.0.0 - 2.0.0.

How to fix this

Upgrade the mcp-core and/or the io.modelcontextprotocol.sdk:mcp-core library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform