{"id":"CVE-2025-53365","aliases":["EUVD-2025-20094","GHSA-j975-95f5-7wqh","OESA-2026-1151","PYSEC-2026-1618","ROOT-APP-PYPI-CVE-2025-53365"],"status":"published","title":"MCP Python SDK has Unhandled Exception in Streamable HTTP Transport ,Leading to Denial of Service","description":"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.","severity":{"version":"4.0","score":8.7,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.00419,"percentile":0.3649,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-248"],"published":"2025-07-04T22:03:46Z","modified":"2026-10-28T02:31:04Z","fixes":[{"ecosystem":"PyPI","package":"mcp","fixed_in":["1.10.0"],"sources":["ghsa","osv"]},{"ecosystem":"Root:PyPI","package":"mcp","fixed_in":["1.1.2+aikido.4","1.0.0+aikido.3","1.1.0+aikido.2","1.2.0+aikido.4","1.8.1+aikido.2","1.6.0+aikido.4","1.9.4+aikido.2","1.9.1+aikido.2","1.8.1+aikido.3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"mcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"mcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0"}]}],"versions":["0.9.1","1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.2.0","1.2.0rc1","1.2.1","1.3.0","1.3.0rc1","1.4.0","1.4.1","1.5.0","1.6.0","1.7.0","1.7.1","1.8.0","1.8.1","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4"]},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP3","package":"python-mcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.3-1.oe2403sp3"}]}],"bundled":2},{"source":"osv","ecosystem":"PyPI","package":"mcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0"}]}],"versions":["0.9.1","1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.2.0","1.2.0rc1","1.2.1","1.3.0","1.3.0rc1","1.4.0","1.4.1","1.5.0","1.6.0","1.7.0","1.7.1","1.8.0","1.8.1","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4"]},{"source":"osv","ecosystem":"Root:PyPI","package":"mcp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.2+aikido.4"},{"fixed":"1.0.0+aikido.3"},{"fixed":"1.1.0+aikido.2"},{"fixed":"1.2.0+aikido.4"},{"fixed":"1.8.1+aikido.2"},{"fixed":"1.6.0+aikido.4"},{"fixed":"1.9.4+aikido.2"},{"fixed":"1.9.1+aikido.2"},{"fixed":"1.8.1+aikido.3"}]}]}],"products":[{"vendor":"modelcontextprotocol","product":"python-sdk"}],"references":[{"url":"https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-j975-95f5-7wqh","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/pull/967","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/commit/7b420656de48cfdb90b39eb582e60b6d55c2f891","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.10.0","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53365","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-j975-95f5-7wqh","tags":["advisory"]},{"url":"https://github.com/modelcontextprotocol/python-sdk","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mcp/PYSEC-2026-1618.yaml","tags":["web"]},{"url":"https://pypi.org/project/mcp","tags":["web","package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53365.json","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-1151","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53366","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-53365","title":"MCP Python SDK has Unhandled Exception in Streamable HTTP Transport ,Leading to Denial of Service","description":"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.","status":"published","published":"2025-07-04T22:03:46.893Z","modified":"2025-07-08T13:53:36.518Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high","assessor":"cna"}],"cwes":["CWE-248"],"updated_at":"2026-11-02T14:32:49.180768Z"}],"euvd":[{"id":"EUVD-2025-20094","description":"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.","status":"published","published":"2025-07-04T22:03:46Z","modified":"2025-07-08T13:53:36Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"updated_at":"2026-11-02T20:32:13.001759Z"}],"ghsa":[{"id":"GHSA-j975-95f5-7wqh","title":"MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service","description":"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.\n\nThank you to Rich Harang for reporting this issue.","status":"published","published":"2025-07-04T22:06:31Z","modified":"2026-07-16T18:30:56Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-248"],"updated_at":"2026-11-02T14:40:44.915484Z"}],"nvd":[{"id":"CVE-2025-53365","description":"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.","status":"published","published":"2025-07-04T22:15:22.117Z","modified":"2026-06-17T09:38:05.94Z","cvss":[{"version":"4.0","score":8.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"}],"cwes":["CWE-248"],"updated_at":"2026-11-02T14:11:16.997062Z"}],"osv":[{"id":"CVE-2025-53365","title":"MCP Python SDK has Unhandled Exception in Streamable HTTP Transport ,Leading to Denial of Service","description":"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.","status":"published","published":"2025-07-04T22:03:46.893Z","modified":"2026-10-28T02:31:04.535184219Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-248"],"updated_at":"2026-11-02T15:44:50.45326Z"},{"id":"GHSA-j975-95f5-7wqh","title":"MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service","description":"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.\n\nThank you to Rich Harang for reporting this issue.","status":"published","published":"2025-07-04T22:06:31Z","modified":"2026-07-16T18:45:48.211743797Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-248"],"updated_at":"2026-11-02T15:46:50.336262Z"},{"id":"OESA-2026-1151","title":"python-mcp security update","description":"The official Python SDK for Model Context Protocol servers and clients\r\n\r\nSecurity Fix(es):\n\nThe 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.(CVE-2025-53365)\n\nThe 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.(CVE-2025-53366)","status":"published","published":"2026-01-16T11:10:11Z","modified":"2026-08-18T01:19:28.042260865Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:52:45.339366Z"},{"id":"PYSEC-2026-1618","title":"MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service","description":"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.\n\nThank you to Rich Harang for reporting this issue.","status":"published","published":"2026-07-07T16:02:56.105116Z","modified":"2026-07-07T17:47:04.395676741Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"updated_at":"2026-11-02T15:52:55.06457Z"},{"id":"ROOT-APP-PYPI-CVE-2025-53365","title":"CVE-2025-53365 in mcp - Patched by Root","description":"Root has patched CVE-2025-53365 in the mcp package for Root:PyPI. Multiple fixed versions available.","status":"published","published":"2026-10-04T14:12:41Z","modified":"2026-10-04T15:15:03.02233018Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:53:27.940619Z"}]}}
