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

Published Jul 4, 2025
·
Updated

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.

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
MCP Python SDK<1.10.0
pip/mcp<1.10.0
1.10.0

Event History

Jul 4, 2025
CVE Published
via MITRE·10:03 PM
Data Sourced
via MITRE·10:03 PM
DescriptionWeakness
Advisory Published
via GitHub·10:06 PM
Data Sourced
via GitHub·10:06 PM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-53365?

CVE-2025-53365 has a severity that could lead to service disruption due to server crashes.

2

How do I fix CVE-2025-53365?

To mitigate CVE-2025-53365, upgrade to version 1.10.0 or later of the MCP Python SDK.

3

What software is affected by CVE-2025-53365?

CVE-2025-53365 affects the MCP Python SDK versions prior to 1.10.0.

4

What kind of issue does CVE-2025-53365 cause?

CVE-2025-53365 can cause uncaught ClosedResourceError exceptions, leading to server crashes.

5

Who is impacted by CVE-2025-53365?

Users of the MCP Python SDK who have not upgraded past version 1.10.0 are impacted by CVE-2025-53365.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203