← Back to CVE List
Vulnerability Intelligence Report
MCP-Framework: Unbounded memory allocation in readRequestBody allows denial of service via HTTP transport

CVE-2026-39313

mcp-framework is a framework for building Model Context Protocol (MCP) servers. In versions 0.2.21 and below, the readRequestBody() function in the HTTP transport concatenates request body chunks into a string with no size limit. Although a maxMessageSize configuration value exists, it is never enforced in readRequestBody(). A remote unauthenticated attacker can crash any mcp-framework HTTP server by sending a single large POST request to /mcp, causing memory exhaustion and denial of service. This issue has been fixed in version 0.2.22.

No Active Exploit Signals
CVSS Base Score
8.7
HIGH
EPSS Probability:0.50%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—

Weaknesses (CWE)

CWE-770 ↗CWE-770: Allocation of Resources Without Limits or Throttling

Affected Products & Versions

Vendor Product Affected Versions
QuantGeekDev mcp-framework < 0.2.22 (affected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

EPSS Score
0.495%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityGitHub, Inc. · Vendor · USA
Reserved2026-04-06T19:31:07
Published2026-04-16T21:24:27
Last Updated2026-04-17T18:46:07

LINK COPIED TO CLIPBOARD