{"id":"UBUNTU-CVE-2026-82397","details":"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.","modified":"2026-09-02T16:28:28Z","published":"2026-08-31T22:17:00Z","upstream":["CVE-2026-82397"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-82397"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-82397"},{"type":"REPORT","url":"https://github.com/tornadoweb/tornado/security/advisories/GHSA-mpf4-983q-p7j4"},{"type":"REPORT","url":"https://github.com/tornadoweb/tornado/commit/8d6363ed7b69d5f0da806efe34d256627a2191de"},{"type":"REPORT","url":"https://github.com/tornadoweb/tornado/pull/3704"},{"type":"REPORT","url":"https://github.com/tornadoweb/tornado/releases/tag/v6.5.8"}],"affected":[{"package":{"name":"python-tornado","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/python-tornado?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.1-1ubuntu2","4.2.1-1ubuntu3","4.2.1-1ubuntu3.1","4.2.1-1ubuntu3.1+esm1","4.2.1-1ubuntu3.1+esm2","4.2.1-1ubuntu3.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"python-tornado","binary_version":"4.2.1-1ubuntu3.1+esm3"},{"binary_name":"python3-tornado","binary_version":"4.2.1-1ubuntu3.1+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82397.json"}},{"package":{"name":"python-tornado","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.1-2.1~build2","4.5.2-1","4.5.3-1","4.5.3-1ubuntu0.1","4.5.3-1ubuntu0.2","4.5.3-1ubuntu0.2+esm1","4.5.3-1ubuntu0.2+esm2","4.5.3-1ubuntu0.2+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"python-tornado","binary_version":"4.5.3-1ubuntu0.2+esm3"},{"binary_name":"python3-tornado","binary_version":"4.5.3-1ubuntu0.2+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82397.json"}},{"package":{"name":"python-tornado","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.1-4ubuntu1","5.1.1-4ubuntu5","6.0.3+really5.1.1-2","6.0.3+really5.1.1-2build1","6.0.3+really5.1.1-2build2","6.0.3+really5.1.1-3","6.0.3+really5.1.1-3ubuntu0.1~esm1","6.0.3+really5.1.1-3ubuntu0.1~esm3","6.0.3+really5.1.1-3ubuntu0.1~esm5"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-tornado","binary_version":"6.0.3+really5.1.1-3ubuntu0.1~esm5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82397.json"}},{"package":{"name":"python-tornado","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/python-tornado?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.0-1build1","6.1.0-2","6.1.0-3","6.1.0-3build1","6.1.0-3ubuntu0.1~esm1","6.1.0-3ubuntu0.1~esm2","6.1.0-3ubuntu0.1~esm4","6.1.0-3ubuntu0.1~esm5"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-tornado","binary_version":"6.1.0-3ubuntu0.1~esm5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82397.json"}},{"package":{"name":"python-tornado","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-tornado?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.3.2-1","6.4.0-0ubuntu1","6.4.0-1","6.4.0-1build1","6.4.0-1ubuntu0.1","6.4.0-1ubuntu0.2","6.4.0-1ubuntu0.4","6.4.0-1ubuntu0.5"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-tornado","binary_version":"6.4.0-1ubuntu0.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82397.json"}},{"package":{"name":"python-tornado","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-tornado?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.4.2-3","6.5.2-3","6.5.4-0.1","6.5.4-0.1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-tornado","binary_version":"6.5.4-0.1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-82397.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}