{"id":"CVE-2026-31958","published":"2026-03-11T19:27:23Z","modified":"2026-04-01T14:32:33Z","title":"Tornado has a DoS due to too many multipart parts","vendor":"tornadoweb","product":"tornado","tier":"tail","description":{"text":"Tornado is a Python web framework and asynchronous networking library. In versions of Tornado prior to 6.5.5, the only limit on the number of parts in multipart/form-data is the max_body_size setting (default 100MB). Since parsing occurs synchronously on the main thread, this creates the possibility of denial-of-service due to the cost of parsing very large multipart bodies with many parts. This vulnerability is fixed in 6.5.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00566,"percentile":0.40766,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/tornadoweb/tornado/security/advisories/GHSA-qjxf-f2mg-c6mc","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2026/04/msg00000.html","tags":[]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.15},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"tornadoweb","affectedVersions":[{"vendor":"tornadoweb","product":"tornado","versions":["< 6.5.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-12T19:55:43.911671Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tornado","vulnerableRanges":["<6.5.5"],"patched":["6.5.5"],"from":["GHSA-qjxf-f2mg-c6mc","PYSEC-2026-140"],"provenance":"source"}],"summary":{"text":"Tornado, the Python web framework and asynchronous networking library from tornadoweb, has a flaw in its multipart/form-data parsing: before version 6.5.5, the only cap on the number of parts is the max_body_size setting (default 100MB), and parsing runs synchronously on the main thread. An unauthenticated remote attacker with network access can send a multipart request containing a very large number of parts, exhausting server resources and causing denial of service, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:42Z"},"euvd":{"id":"EUVD-2026-11323","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tornadoweb-tornado-cve-2025-47287","parents":[{"from":"CVE-2025-47287","to":"CVE-2026-31958","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tornado/httputil.py"],"commits":["https://github.com/tornadoweb/tornado/commit/b39b892bf78fe8fea01dd45199aa88307e7162f3","https://github.com/tornadoweb/tornado/commit/119a195e290c43ad2d63a2cf012c29d43d6ed839"],"basis":"shared function","functions":["parse_body_arguments","parse_multipart_form_data"]}]}],"children":[{"from":"CVE-2026-31958","to":"CVE-2026-82397","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tornado/httputil.py"],"commits":["https://github.com/tornadoweb/tornado/commit/119a195e290c43ad2d63a2cf012c29d43d6ed839","https://github.com/tornadoweb/tornado/commit/8d6363ed7b69d5f0da806efe34d256627a2191de"],"basis":"shared function","functions":["parse_body_arguments"]}]}],"packageHistory":[{"cve":"CVE-2025-67724","published":"2025-12-12","fixed":"6.5.3","kev":false},{"cve":"CVE-2025-67725","published":"2025-12-12","fixed":"6.5.3","kev":false},{"cve":"CVE-2025-67726","published":"2025-12-12","fixed":"6.5.3","kev":false,"link":{"from":"CVE-2025-67726","to":"CVE-2026-31958","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:tornado","fromFixed":"6.5.3","toFixed":"6.5.5","daysApart":89},{"kind":"same-code","provenance":"machine","files":["tornado/httputil.py"],"commits":["https://github.com/tornadoweb/tornado/commit/771472cfdaeebc0d89a9cc46e249f8891a6b29cd","https://github.com/tornadoweb/tornado/commit/119a195e290c43ad2d63a2cf012c29d43d6ed839"],"basis":"shared file"}]}},{"cve":"CVE-2026-31958","published":"2026-03-11","fixed":"6.5.5","kev":false},{"cve":"CVE-2026-35536","published":"2026-04-03","fixed":"6.5.5","kev":false},{"cve":"CVE-2026-49853","published":"2026-07-14","fixed":"6.5.6","kev":false},{"cve":"CVE-2026-49854","published":"2026-07-14","fixed":"6.5.6","kev":false}],"package":"PyPI:tornado"}}