Logo
vulnerabilityCVE-2025-67726
Name
CVE-2025-67726
Source
NVD ( link)Debian ( link)
Description
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
python3-tornado
Patched

Vulnerability Ratings#


7.5
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
6.4.2
Patched
buildroot
master
6.5.5
Not Affected
openwrt
master
6.5.5-r1
Not Affected
openwrt
openwrt-25.12
6.3.3-r1
Exploitable
yocto
master
6.5.7
Not Affected

Resolved with patches#


python-tornado (buildroot:2025.02.x)

#
Title
Author
Resolve
1
httputil: Fix quadratic behavior in _parseparam
Ben Darnell <ben@bendarnell.com>
CVE-2025-67725
CVE-2025-67726

python3-tornado (yocto:scarthgap)

#
Title
Author
Resolve
1
httputil: Fix quadratic behavior in _parseparam
Ben Darnell <ben@bendarnell.com>
CVE-2025-67725
CVE-2025-67726