Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. tornado
  4. ›
  5. CVE-2026-82397

CVE-2026-82397: Tornado: Urlencoded body parsing omits max_num_fields, so one request can stall the event loop

September 2, 2026

Tornado parses application/x-www-form-urlencoded bodies with urllib.parse.parse_qs and does not pass max_num_fields. A body made almost entirely of separators produces tens of millions of fields, and the parse happens on the event loop before the handler runs, so a single request stalls the whole server.

References

  • github.com/advisories/GHSA-mpf4-983q-p7j4
  • github.com/tornadoweb/tornado/commit/8d6363ed7b69d5f0da806efe34d256627a2191de
  • github.com/tornadoweb/tornado/pull/3704
  • github.com/tornadoweb/tornado/releases/tag/v6.5.8
  • github.com/tornadoweb/tornado/security/advisories/GHSA-mpf4-983q-p7j4
  • nvd.nist.gov/vuln/detail/CVE-2026-82397

Code Behaviors & Features

Detect and mitigate CVE-2026-82397 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 6.5.8

Fixed versions

  • 6.5.8

Solution

Upgrade to version 6.5.8 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1284: Improper Validation of Specified Quantity in Input
  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/tornado/CVE-2026-82397.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:45 +0000.