# CVE-2025-67726: Tornado quadratic DoS in httputil _parseparam

Source: https://junglewise.ai/threats/cve-2025-67726-tornado-quadratic-dos-in-httputil-parseparam  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-12. Updated: 2026-07-20  
License: CC BY 4.0 with a link back

CVE-2025-67726 · Severity: high · CVSS 7.5 · Published 2025-12-12

Tornado is a Python web framework and asynchronous networking library. A vulnerability in how it handles certain web request headers allows an attacker to send a specially crafted request that consumes excessive server processing power. Because of Tornado's design, this can cause the entire web server to become unresponsive, leading to a total service outage for all users.

Technologies: [tornado (PyPI)](https://junglewise.ai/threats/technologies/tornado), [Tornadoweb Tornado](https://junglewise.ai/threats/technologies/tornadoweb-tornado). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi), [Tornadoweb](https://junglewise.ai/threats/vendors/tornadoweb).

## Quick answers

**Is CVE-2025-67726 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-67726 being exploited in the wild.

**How severe is CVE-2025-67726?** High severity, with a CVSS score of 7.5, published 12 December 2025.

**Which products and versions are affected?** tornado (PyPI) < 6.5.3, ECOSYSTEM:introduced=0,fixed=6.5.3.

**Is there a fix for CVE-2025-67726?** Yes. tornado (PyPI): upgrade to 6.5.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-67726 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-67726?** Check whether you run tornado (PyPI) or Tornadoweb Tornado at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- tornado (PyPI): upgrade to 6.5.3 or later

  ```sh
  pip install "tornado>=6.5.3"
  ```


## Technical details

The _parseparam function in Tornado's httputil.py, used for parsing HTTP header values like multipart/form-data, contains an inefficient algorithm. Specifically, it repeatedly calls string.count() within a nested loop when processing quoted semicolons. An attacker can exploit this by sending a Content-Disposition header with a large number of crafted parameters, leading to O(n²) CPU consumption. Due to Tornado's single-threaded event loop architecture, this quadratic complexity results in a complete Denial of Service (DoS) as the event loop becomes blocked. This issue is fixed in version 6.5.3.

## Affected products

- TornadoWeb Tornado < 6.5.3

## Identifiers

- CVE-2025-67726
- GHSA-jhmp-mqwm-3gq8
- PYSEC-2025-267

## Timeline

- 2025-12-11: disclosed: Initial disclosure and patch release
- 2025-12-12: advisory: NVD publication
- 2026-07-20: advisory: GitHub Advisory reviewed and updated

## References

- [https://api.github.com/users/Finder16](https://api.github.com/users/Finder16)
- [https://github.com/Finder16](https://github.com/Finder16)
- [https://api.github.com/users/Finder16/gists%7B/gist_id%7D](https://api.github.com/users/Finder16/gists%7B/gist_id%7D)
- [https://api.github.com/users/Finder16/repos](https://api.github.com/users/Finder16/repos)
- [https://avatars.githubusercontent.com/u/101492831?v=4](https://avatars.githubusercontent.com/u/101492831?v=4)
- [https://api.github.com/users/Finder16/events%7B/privacy%7D](https://api.github.com/users/Finder16/events%7B/privacy%7D)

## Related threats

- [Tornado path traversal in static_url() and get_version()](https://junglewise.ai/threats/cve-2026-123534-tornado-before-6-6-contains-a-path-traversal-vulnerability-in)
- [Tornado open redirect in RedirectHandler URL templates](https://junglewise.ai/threats/cve-2026-116578-tornado-is-a-python-web-framework-and-asynchronous-networking)
- [Tornado HTTP header parser quadratic CPU consumption via line folding](https://junglewise.ai/threats/cve-2026-116577-tornado-is-a-python-web-framework-and-asynchronous-networking)
- [Tornado HTTP/1.1 chunked encoding denial of service](https://junglewise.ai/threats/cve-2026-115927-tornado-is-a-python-web-framework-and-asynchronous-networking)
- [Tornado StaticFileHandler path traversal via symlinks](https://junglewise.ai/threats/cve-2026-103263-tornado-staticfilehandler-follows-symlinks-outside-static-root)
