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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2025-12-12T06:13:51.336Z
- Modified: 2026-10-07T20:10:01.970Z
- Also known as: GHSA-jhmp-mqwm-3gq8, PYSEC-2025-267
- Weaknesses: CWE-400, CWE-834
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tornadoweb tornado: < 6.5.3; before 6.5.3
- tornado (PyPI): before 6.5.3

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/tornadoweb/tornado/security/advisories/GHSA-jhmp-mqwm-3gq8> (advisory, vendor-advisory, web)
- <https://github.com/tornadoweb/tornado/commit/771472cfdaeebc0d89a9cc46e249f8891a6b29cd> (fix, patch, web)
- <https://github.com/tornadoweb/tornado/releases/tag/v6.5.3> (advisory, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-67726> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2025-267.yaml> (web)
- <https://github.com/tornadoweb/tornado> (package)

## Sources

- CVE List: [CVE-2025-67726](https://www.cve.org/CVERecord?id=CVE-2025-67726), CVE Terms of Use, modified 2025-12-18
- GitHub Advisory Database: [GHSA-jhmp-mqwm-3gq8](https://github.com/advisories/GHSA-jhmp-mqwm-3gq8), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2025-67726](https://nvd.nist.gov/vuln/detail/CVE-2025-67726), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2025-267](https://osv.dev/vulnerability/PYSEC-2025-267), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2025-67726 · Whole record: https://cve.day/CVE-2025-67726.json · Rebuilt by cve.day 2026-11-25T22:59:09.304Z
