CVEfocus › CVE database › CVE-2025-67726

CVE-2025-67726Tornado is Vulnerable to Quadratic DoS via Crafted Multipart Parameters

CVSS 7.5 HighEPSS 0.8% (higher than 55% of CVEs)Published 2025-12-12Updated 2025-12-18Assigner: GitHub_M

Tornado is a Python web framework and asynchronous networking library. Versions 6.5.2 and below use an inefficient algorithm when parsing parameters for HTTP header values, potentially causing a DoS. The _parseparam function in httputil.py is used to parse specific HTTP header values, such as those in multipart/form-data and repeatedly calls string.count() within a nested loop while processing quoted semicolons. If an attacker sends a request with a large number of maliciously crafted parameters in a Content-Disposition header, the server's CPU usage increases quadratically (O(n²)) during parsing. Due to Tornado's single event loop architecture, a single malicious request can cause the entire server to become unresponsive for an extended period. This issue is fixed in version 6.5.3.

CWE-400CWE-834

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, PyPI, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
6Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04python-tornadoNot affected
vulnerable_code_not_present
Ubuntu 25.10python-tornadoFixed6.4.2-3ubuntu0.2UBUNTU-CVE-2025-67726
Ubuntu 24.04python-tornadoFixed6.4.0-1ubuntu0.4UBUNTU-CVE-2025-67726
Ubuntu 22.04python-tornadoFix pending6.1.0-3ubuntu0.1~esm4 (Ubuntu Pro)UBUNTU-CVE-2025-67726
Ubuntu 20.04python-tornadoFix pending6.0.3+really5.1.1-3ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2025-67726
Ubuntu 18.04python-tornadoFix pending4.5.3-1ubuntu0.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-67726
Ubuntu 16.04python-tornadoFix pending4.2.1-1ubuntu3.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-67726
Debian 14python-tornadoFixed6.5.4-0.1DEBIAN-CVE-2025-67726
Debian 13python-tornadoFixed6.4.2-3+deb13u2DEBIAN-CVE-2025-67726
Debian 12python-tornadoFixed6.2.0-3+deb12u4DEBIAN-CVE-2025-67726
Red Hat Enterprise Linux 9pcsFix pending
Affected
Red Hat Enterprise Linux 9pcs-snmpFix pending
Affected
Red Hat Enterprise Linux 8pcsFixed0:0.10.18-2.el8_10.8RHSA-2026:0930
Red Hat Enterprise Linux 8pcs-snmpFixed0:0.10.18-2.el8_10.8RHSA-2026:0930
AlmaLinux 8pcsFixed0.10.18-2.el8_10.8.alma.1ALSA-2026:0930
AlmaLinux 8pcs-snmpFixed0.10.18-2.el8_10.8.alma.1ALSA-2026:0930
Rocky Linux 8pcsFixed0:0.10.18-2.el8_10.8RLSA-2026:0930
Alpine Linux 3.24py3-tornadoFixed6.5.4-r0ALPINE-CVE-2025-67726
Alpine Linux 3.23py3-tornadoFixed6.5.4-r0ALPINE-CVE-2025-67726
PyPI librarytornadoFixed6.5.3PYSEC-2025-267

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.