{"id":"CVE-2025-53365","published":"2025-07-04T22:03:46Z","modified":"2025-07-08T13:53:36Z","title":"MCP Python SDK has Unhandled Exception in Streamable HTTP Transport ,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.10.0, if a client deliberately triggers an exception after establishing a streamable HTTP session, this can lead to an uncaught ClosedResourceError on the server side, causing the server to crash and requiring a restart to restore service. Impact may vary depending on the deployment conditions, and presence of infrastructure-level resilience measures. Version 1.10.0 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.00419,"percentile":0.37101,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-j975-95f5-7wqh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/pull/967","tags":["x_refsource_MISC"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/commit/7b420656de48cfdb90b39eb582e60b6d55c2f891","tags":["x_refsource_MISC"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":7.42},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"modelcontextprotocol","affectedVersions":[{"vendor":"modelcontextprotocol","product":"python-sdk","versions":["< 1.10.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-08T13:53:26.324368Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mcp","vulnerableRanges":["<1.10.0"],"patched":["1.10.0"],"from":["GHSA-j975-95f5-7wqh","PYSEC-2026-1618"],"provenance":"source"}],"summary":{"text":"The MCP Python SDK (the mcp package on PyPI, from modelcontextprotocol's python-sdk) contains an unhandled exception in its streamable HTTP transport, where an uncaught ClosedResourceError can occur after a session is established. An attacker with network access, who needs no authentication or user interaction, can deliberately trigger this condition to crash the server, requiring a restart to restore service, with the exact impact depending on the deployment and any infrastructure-level resilience measures.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:20Z"},"euvd":{"id":"EUVD-2025-20094","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-modelcontextprotocol-python-sdk-cve-2025-53365","parents":[{"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,"link":{"from":"CVE-2025-53365","to":"CVE-2025-66416","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mcp","fromFixed":"1.10.0","toFixed":"1.23.0","daysApart":151}]}},{"cve":"CVE-2026-52869","published":"2026-07-15","fixed":"1.27.2","kev":false},{"cve":"CVE-2026-52870","published":"2026-07-15","fixed":"1.27.2","kev":false}],"package":"PyPI:mcp"}}