CVE-2025-67726 Details
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.
A denial-of-service vulnerability has been identified in Tornado versions prior to 6.5.3. The issue arises in the `_parseparam` function within `httputil.py`, which handles the parsing of certain HTTP header values, including those in `multipart/form-data`. The vulnerability is caused by an inefficient algorithm that repeatedly uses `string.count()` in a nested loop to process quoted semicolons. This flaw can be exploited by sending a request with a large number of maliciously crafted parameters in a `Content-Disposition` header, leading to a quadratic increase in CPU usage during parsing. Because Tornado operates on a single event loop, this can cause the server to become unresponsive for a prolonged period.
Users can upgrade to Tornado version 6.5.3, which addresses this vulnerability by improving the parsing algorithm to eliminate the quadratic behavior.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-834 | Excessive Iteration | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tornadoweb tornado | < 6.5.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 22, 2025 | Initial Analysis | [email protected] |
| Dec 12, 2025 | New CVE Received | [email protected] |