{"id":"CVE-2025-53366","published":"2025-07-04T22:05:02Z","modified":"2025-07-08T13:52:28Z","title":"MCP SDK Vulnerable to FastMCP Server Validation Error, Leading to Denial of Service","vendor":"modelcontextprotocol","product":"python-sdk","tier":"tail","description":{"text":"The MCP Python SDK, called `mcp` on PyPI, is a Python implementation of the Model Context Protocol (MCP). Prior to version 1.9.4, a validation error in the MCP SDK can cause an unhandled exception when processing malformed requests, resulting in service unavailability (500 errors) until manually restarted. Impact may vary depending on the deployment conditions, and presence of infrastructure-level resilience measures. Version 1.9.4 contains a patch for the issue.","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.09754,"percentile":0.95641,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-3qhf-m339-9g5v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/pull/822","tags":["x_refsource_MISC"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/commit/29c69e6a47d0104d0afcea6ac35e7ab02fde809a","tags":["x_refsource_MISC"]}],"priority":{"score":25.2,"factors":[{"name":"EPSS percentile","points":19.13},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"modelcontextprotocol","affectedVersions":[{"vendor":"modelcontextprotocol","product":"python-sdk","versions":["< 1.9.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-08T13:52:21.837694Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mcp","vulnerableRanges":["<1.9.4"],"patched":["1.9.4"],"from":["GHSA-3qhf-m339-9g5v","PYSEC-2026-1616"],"provenance":"source"}],"summary":{"text":"The modelcontextprotocol python-sdk (the mcp package on PyPI), a Python implementation of the Model Context Protocol, contains a validation flaw in its FastMCP server component that causes an unhandled exception when malformed requests are processed. An unauthenticated remote attacker who can reach the server over the network can send such requests with no user interaction or special configuration required, causing the service to become unavailable (500 errors) until it is manually restarted.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:34:20Z"},"euvd":{"id":"EUVD-2025-20093","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-modelcontextprotocol-python-sdk-cve-2025-53365","children":[{"from":"CVE-2025-53366","to":"CVE-2025-53365","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mcp","fromFixed":"1.9.4","toFixed":"1.10.0","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/mcp/shared/session.py"],"commits":["https://github.com/modelcontextprotocol/python-sdk/commit/7b420656de48cfdb90b39eb582e60b6d55c2f891","https://github.com/modelcontextprotocol/python-sdk/commit/29c69e6a47d0104d0afcea6ac35e7ab02fde809a"],"basis":"shared function","functions":["_receive_loop"]},{"kind":"similar","provenance":"machine","score":0.54,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2025-53366","published":"2025-07-04","fixed":"1.9.4","kev":false},{"cve":"CVE-2025-53365","published":"2025-07-04","fixed":"1.10.0","kev":false},{"cve":"CVE-2025-66416","published":"2025-12-02","fixed":"1.23.0","kev":false},{"cve":"CVE-2026-52869","published":"2026-07-15","fixed":"1.27.2","kev":false}],"package":"PyPI:mcp"}}