CVE-2025-53365
HIGH 8.7CVSS 4.0MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service
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.
- Published
- 4 Jul 2025
- Last modified
- 16 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-248
- Also known as
- GHSA-j975-95f5-7wqhPYSEC-2026-1618
- Sources
- NVDJSONOSV GHSA-j975-95f5-7wqhJSONOSV PYSEC-2026-1618JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | mcp | < 1.10.0 | 1.10.0 |
References
- https://github.com/modelcontextprotocol/python-sdk/commit/7b420656de48cfdb90b39eb582e60b6d55c2f891 · WEB
- https://github.com/modelcontextprotocol/python-sdk/pull/967 · WEB
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-j975-95f5-7wqh · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-53365 · ADVISORY
- https://github.com/advisories/GHSA-j975-95f5-7wqh · ADVISORY
- https://github.com/modelcontextprotocol/python-sdk · PACKAGE
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.10.0 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/mcp/PYSEC-2026-1618.yaml · WEB
- https://pypi.org/project/mcp · WEB, PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 4 Jul 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Jul 2025)