INCIDENT MAP

Browse / MCP and Tool Server Flaws / CVE-2025-53365

MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service

CVE-2025-53365 ยท 2025-07-04 high

Class
MCP and Tool Server Flaws (filed by a model that read the advisory)
Technique
Denial of service
Affected
mcp (PyPI)
CVSS
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
EPSS
0.4% chance of exploitation in 30 days

How it works, in short

A client that deliberately triggers an error mid-session causes an unhandled closed-resource exception that crashes the MCP streamable HTTP server. (Our summary, written by a model. The source text is below.)

Details

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.

Thank you to Rich Harang for reporting this issue.

References

Source: GitHub Advisory Database, used under CC BY 4.0.