{"id":"CVE-2026-39313","published":"2026-04-16T21:24:27Z","modified":"2026-04-17T18:46:07Z","title":"MCP-Framework: Unbounded memory allocation in readRequestBody allows denial of service via HTTP transport","vendor":"QuantGeekDev","product":"mcp-framework","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00471,"percentile":0.41607,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/QuantGeekDev/mcp-framework/security/advisories/GHSA-353c-v8x9-v7c3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/QuantGeekDev/mcp-framework/commit/f97d2bb76d6359faf10cd1fc54b4911476b62524","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":8.32},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"quantgeekdev","affectedVersions":[{"vendor":"QuantGeekDev","product":"mcp-framework","versions":["< 0.2.22"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-17T18:45:58.804862Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mcp-framework","vulnerableRanges":["<0.2.22"],"patched":["0.2.22"],"from":["GHSA-353c-v8x9-v7c3"],"provenance":"source"}],"summary":{"text":"The mcp-framework library from QuantGeekDev, used to build Model Context Protocol servers, has an unbounded memory allocation flaw in the readRequestBody() function of its HTTP transport: request body chunks are concatenated without any size limit, and the maxMessageSize setting is never enforced there. An unauthenticated remote attacker with network access can exhaust memory and crash the server by sending a single large POST request to /mcp, requiring no user interaction or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:12Z"},"euvd":{"id":"EUVD-2026-23300","exploited":false,"provenance":"source"}}