CVE-2025-53366 json
MCP SDK Vulnerable to FastMCP Server Validation Error, Leading to Denial of Service
published 2025-07-04 16 mo ago modified 2026-07-16 3 mo ago also EUVD-2025-20093 , GHSA-3qhf-m339-9g5v , PYSEC-2026-1616
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.8%
- EPSS 9.8% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
The 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.
Patch / fix
- pypi mcp 1.9.4
- lfprojects mcp_python_sdk 1.9.4
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-53366 updated cvss 5.3
mcp: MCP SDK Denial of Service Vulnerability
-
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-service-api-rhel9affected: workaround, no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
9.75% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | mcp | <1.9.4 |
1.9.4 |
Affected products
- modelcontextprotocol python-sdk
Classification
- Weakness
-
- CWE-248 Uncaught Exception
References
-
github.com
/modelcontextprotocol/python-sdk/pull/822
web
-
github.com
/modelcontextprotocol/python-sdk/commit/29c69e6a47d0104d0afcea6ac35e7ab02fde809a
web
-
github.com
/modelcontextprotocol/python-sdk/security/advisories/GHSA-3qhf-m339-9g5v
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-53366
advisory
-
github.com
/advisories/GHSA-3qhf-m339-9g5v
advisory
-
github.com
/modelcontextprotocol/python-sdk
package
-
github.com
/modelcontextprotocol/python-sdk/releases/tag/v1.9.4
web
-
github.com
/pypa/advisory-database/tree/main/vulns/mcp/PYSEC-2026-1616.yaml
web
-
pypi.org
/project/mcp
web, package
Sources
- CVE List CVE-2025-53366
- GitHub Advisory GHSA-3qhf-m339-9g5v
- NVD CVE-2025-53366
- OSV PYSEC-2026-1616
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.