{"schemaVersion":3,"id":"CVE-2025-53366","aliases":["GHSA-3qhf-m339-9g5v","PYSEC-2026-1616"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2025-07-04T22:05:02.975Z","modified":"2025-07-08T13:52:28.447Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.7,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.7,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.09309,"percentile":0.95343,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":2.0480000000000014,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.07261},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.09309,"percentile":0.95343}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.07261,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.07694,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.09309,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.09309,"percentile":0.95343}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-248","name":"Uncaught Exception","description":"An exception is thrown from a function, but it is not caught.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/248.html"}],"affected":[{"vendor":"modelcontextprotocol","product":"python-sdk","name":"python-sdk","label":"python-sdk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.9.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.4","eol":null,"hubHref":"/vendor/modelcontextprotocol/python-sdk"},{"vendor":"PyPI","product":"mcp","name":"mcp","label":"mcp","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/mcp","purlType":"pypi","versions":[{"text":"< 1.9.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.4","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-3qhf-m339-9g5v","label":"github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-3qhf-m339-9g5v","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/pull/822","label":"github.com/modelcontextprotocol/python-sdk/pull/822","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/commit/29c69e6a47d0104d0afcea6ac35e7ab02fde809a","label":"github.com/modelcontextprotocol/python-sdk/commit/29c69e6a47d0104d0afcea6ac35e7ab02fde809a","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-53366","label":"nvd.nist.gov/vuln/detail/CVE-2025-53366","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-3qhf-m339-9g5v","label":"github.com/advisories/GHSA-3qhf-m339-9g5v","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/modelcontextprotocol/python-sdk","label":"github.com/modelcontextprotocol/python-sdk","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.9.4","label":"github.com/modelcontextprotocol/python-sdk/releases/tag/v1.9.4","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mcp/PYSEC-2026-1616.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/mcp/PYSEC-2026-1616.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/mcp","label":"pypi.org/project/mcp","hostname":"pypi.org","tags":["WEB","PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-07-04T22:05:02.975Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-08T13:52:28.447Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":37,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T16:15:53.932Z","stale":false,"partial":false}}