# CVE-2025-53365: MCP Python SDK has Unhandled Exception in Streamable HTTP Transport ,Leading to Denial of Service

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2025-07-04T22:03:46.893Z
- Modified: 2026-07-16T18:45:48.211Z
- Also known as: GHSA-j975-95f5-7wqh, PYSEC-2026-1618
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- modelcontextprotocol python-sdk: < 1.10.0
- mcp (PyPI): before 1.10.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: 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`

## References

- <https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-j975-95f5-7wqh> (web)
- <https://github.com/modelcontextprotocol/python-sdk/pull/967> (web)
- <https://github.com/modelcontextprotocol/python-sdk/commit/7b420656de48cfdb90b39eb582e60b6d55c2f891> (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> (package, web)

## Sources

- CVE List: [CVE-2025-53365](https://www.cve.org/CVERecord?id=CVE-2025-53365), CVE Terms of Use, modified 2025-07-08
- GitHub Advisory Database: [GHSA-j975-95f5-7wqh](https://github.com/advisories/GHSA-j975-95f5-7wqh), CC-BY-4.0, modified 2026-07-16
- NVD: [CVE-2025-53365](https://nvd.nist.gov/vuln/detail/CVE-2025-53365), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1618](https://osv.dev/vulnerability/PYSEC-2026-1618), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-53365 · Whole record: https://cve.day/CVE-2025-53365.json · Rebuilt by cve.day 2026-11-25T22:59:00.670Z
