{"id":"CVE-2026-82397","published":"2026-08-31T21:28:13Z","modified":"2026-09-02T17:39:41Z","title":"Tornado: Urlencoded body parsing omits max_num_fields, so one request can stall the event loop","vendor":"tornadoweb","product":"tornado","tier":"tail","description":{"text":"Tornado is a Python web framework and asynchronous networking library. Prior to 6.5.8, Tornado parses application/x-www-form-urlencoded request bodies with urllib.parse.parse_qs in tornado/escape.py without passing max_num_fields. RequestHandler._execute in tornado/web.py parses the body before handler dispatch through HTTPServerRequest._parse_body and parse_body_arguments in tornado/httputil.py, so an unauthenticated request body containing millions of separator-delimited fields can synchronously stall the single-threaded event loop and delay every connection. The body is bounded only by max_buffer_size, which defaults to 104857600 bytes. This issue is fixed in version 6.5.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0063,"percentile":0.4459,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"references":[{"url":"https://github.com/tornadoweb/tornado/security/advisories/GHSA-mpf4-983q-p7j4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tornadoweb/tornado/pull/3704","tags":["x_refsource_MISC"]},{"url":"https://github.com/tornadoweb/tornado/commit/8d6363ed7b69d5f0da806efe34d256627a2191de","tags":["x_refsource_MISC"]},{"url":"https://github.com/tornadoweb/tornado/releases/tag/v6.5.8","tags":["x_refsource_MISC"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.92},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"tornadoweb","affectedVersions":[{"vendor":"tornadoweb","product":"tornado","versions":["< 6.5.8"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-02T17:39:28.982654Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tornado","vulnerableRanges":["<6.5.8"],"patched":["6.5.8"],"from":["GHSA-mpf4-983q-p7j4","PYSEC-2026-3928"],"provenance":"source"}],"summary":{"text":"The Tornado web framework's urlencoded request body parsing (in tornado/escape.py and tornado/httputil.py, invoked before handler dispatch) does not enforce a maximum number of fields, so a single request with a very large form body can block the single-threaded event loop and delay all other connections. An unauthenticated remote attacker needs only network access to a Tornado server and can send a body up to the default max_buffer_size of 104857600 bytes, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:43Z"},"euvd":{"id":"EUVD-2026-68892","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tornadoweb-tornado-cve-2025-47287","parents":[{"from":"CVE-2025-47287","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/b39b892bf78fe8fea01dd45199aa88307e7162f3","https://github.com/tornadoweb/tornado/commit/8d6363ed7b69d5f0da806efe34d256627a2191de"],"basis":"shared function","functions":["parse_body_arguments"]}]},{"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-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,"link":{"from":"CVE-2026-49854","to":"CVE-2026-82397","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:tornado","fromFixed":"6.5.6","toFixed":"6.5.8","daysApart":48}]}},{"cve":"CVE-2026-49855","published":"2026-07-14","fixed":"6.5.6","kev":false},{"cve":"CVE-2026-82397","published":"2026-08-31","fixed":"6.5.8","kev":false},{"cve":"CVE-2026-115927","published":"2026-10-26","fixed":"6.6","kev":false,"link":{"from":"CVE-2026-82397","to":"CVE-2026-115927","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:tornado","fromFixed":"6.5.8","toFixed":"6.6","daysApart":56}]}},{"cve":"CVE-2026-116577","published":"2026-10-26","fixed":"6.6","kev":false,"link":{"from":"CVE-2026-82397","to":"CVE-2026-116577","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:tornado","fromFixed":"6.5.8","toFixed":"6.6","daysApart":56},{"kind":"same-code","provenance":"machine","files":["tornado/httputil.py"],"commits":["https://github.com/tornadoweb/tornado/commit/1b7a1dc9f340f52de929852e8125aa12f25297c9","https://github.com/tornadoweb/tornado/commit/8d6363ed7b69d5f0da806efe34d256627a2191de"],"basis":"shared file"}]}},{"cve":"CVE-2026-116578","published":"2026-10-26","fixed":"6.6","kev":false,"link":{"from":"CVE-2026-82397","to":"CVE-2026-116578","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:tornado","fromFixed":"6.5.8","toFixed":"6.6","daysApart":56}]}}],"package":"PyPI:tornado"}}