# CVE-2024-52804: Tornado has HTTP cookie parsing DoS vulnerability

- 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): 1.04%, higher than 65% of CVEs (2026-12-01)
- Published: 2024-11-22T15:43:38.572Z
- Modified: 2026-09-10T03:50:20.413Z
- Also known as: GHSA-8w49-h785-mj3c, PYSEC-2026-1975
- Weaknesses: CWE-400, CWE-770
- 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. The algorithm used for parsing HTTP cookies in Tornado versions prior to 6.4.2 sometimes has quadratic complexity, leading to excessive CPU consumption when parsing maliciously-crafted cookie headers. This parsing occurs in the event loop thread and may block the processing of other requests. Version 6.4.2 fixes the issue.

(As written by CVE List.)

## Affected

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

## 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-8w49-h785-mj3c> (third-party-advisory, web)
- <https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533> (patch, web)
- <https://github.com/advisories/GHSA-7pwv-g7hj-39pr> (not-applicable)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00000.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52804> (advisory)
- <https://github.com/tornadoweb/tornado> (package)
- <https://pypi.org/project/tornado> (package)
- <https://github.com/advisories/GHSA-8w49-h785-mj3c> (advisory)

## Sources

- CVE List: [CVE-2024-52804](https://www.cve.org/CVERecord?id=CVE-2024-52804), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-8w49-h785-mj3c](https://github.com/advisories/GHSA-8w49-h785-mj3c), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-52804](https://nvd.nist.gov/vuln/detail/CVE-2024-52804), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1975](https://osv.dev/vulnerability/PYSEC-2026-1975), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-52804 · Whole record: https://cve.day/CVE-2024-52804.json · Rebuilt by cve.day 2026-11-25T22:58:49.089Z
