# CVE-2025-67725: Tornado is Vulnerable to Quadratic DoS via Repeated Header Coalescing

- 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.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2025-12-12T05:49:41.523Z
- Modified: 2026-10-07T20:10:01.970Z
- Also known as: GHSA-c98p-7wgm-6p64, PYSEC-2025-266
- Weaknesses: CWE-400
- 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. In versions 6.5.2 and below, a single maliciously crafted HTTP request can block the server's event loop for an extended period, caused by the HTTPHeaders.add method. The function accumulates values using string concatenation when the same header name is repeated, causing a Denial of Service (DoS).  Due to Python string immutability, each concatenation copies the entire string, resulting in O(n²) time complexity. The severity can vary from high if max_header_size has been increased from its default, to low if it has its default value of 64KB. 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-c98p-7wgm-6p64> (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-67725> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2025-266.yaml> (web)
- <https://github.com/tornadoweb/tornado> (package)

## Sources

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

---

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