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

CVE-2026-116577: Tornado: Quadratic CPU usage when parsing HTTP headers with line folding

October 28, 2026

Tornado’s HTTP header parser takes quadratic time (O(n²)) when a header value is continued across many “obsolete line folding” (obs-fold) lines. An unauthenticated attacker can send a request whose header block is mostly short continuation lines. Parsing it uses a large amount of CPU on the IOLoop thread and blocks every other connection that process is serving.

This issue is closely related to CVE-2025-67725 (GHSA-c98p-7wgm-6p64). The fix for that advisory covered repeated headers but not line-folded continuations.

References

  • github.com/advisories/GHSA-pcg2-g6cj-q92c
  • github.com/tornadoweb/tornado/commit/1b7a1dc9f340f52de929852e8125aa12f25297c9
  • github.com/tornadoweb/tornado/pull/3765
  • github.com/tornadoweb/tornado/releases/tag/v6.6.0
  • github.com/tornadoweb/tornado/security/advisories/GHSA-pcg2-g6cj-q92c
  • nvd.nist.gov/vuln/detail/CVE-2026-116577

Code Behaviors & Features

Detect and mitigate CVE-2026-116577 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.6.0

Fixed versions

  • 6.6.0

Solution

Upgrade to version 6.6.0 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-407: Inefficient Algorithmic Complexity
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/tornado/CVE-2026-116577.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:24 +0000.