CVE-2025-67726
Tornado is Vulnerable to Quadratic DoS via Crafted Multipart Parameters
Reported by github_m · Published December 12, 2025
tornado is fixed in 6.5.3 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tornado | PyPI | 6.5.3 |
| python-tornado-doc | Amazon Linux | 6.1.0-2.amzn2023.0.6, 4.2.1-3.amzn2.0.3 |
| python-tornado | Amazon Linux | 4.2.1-3.amzn2.0.3 |
| python3-tornado-doc | Amazon Linux | 5.0.2-4.amzn2.0.6 |
| python3.13-tornado-doc | Amazon Linux | 6.4.2-1.amzn2023.0.2 |
| py3-tornado | Alpine | 6.5.4-r0 |
| python3.13-tornado | Amazon Linux | 6.4.2-1.amzn2023.0.2 |
| tornado | tornadoweb | 6.5.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| tornadoweb | tornado | < 6.5.3 |
| amazon:2 | python-tornado-doc | 0 |
| PyPI | tornado | 0 |
| amazon:2 | python-tornado | 0 |
| amazon:2023 | python-tornado-doc | 0 |
| amazon:2 | python3-tornado-doc | 0 |
| amazon:2023 | python3.13-tornado-doc | 0 |
| alpine | py3-tornado | 0 |
| amazon:2023 | python3.13-tornado | 0 |
| tornadoweb | tornado | 0 |
| amazon:2023 | python3-tornado | 0 |
| amazon:2 | python3-tornado | 0 |
Timeline
- Dec 12, 2025 EPSS Score (30 in total, the first dated here)
- Dec 12, 2025 CVE Published
- Dec 12, 2025 PoC Published
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 31, 2026 Security Advisory (8 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (7 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-67726
vulnetix vdb fixes CVE-2025-67726
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-67726/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-jhmp-mqwm-3gq8 x_refsource_CONFIRM
- https://github.com/tornadoweb/tornado/commit/771472cfdaeebc0d89a9cc46e249f8891a6b29cd x_refsource_MISC
- https://github.com/tornadoweb/tornado/releases/tag/v6.5.3 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-67726 advisory
- https://github.com/advisories/GHSA-jhmp-mqwm-3gq8 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2025-267.yaml advisory