CVE-2025-67725Tornado is Vulnerable to Quadratic DoS via Repeated Header Coalescing
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, PyPI, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | python-tornado | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | python-tornado | Fixed | 6.4.2-3ubuntu0.2 | UBUNTU-CVE-2025-67725 |
| Ubuntu 24.04 | python-tornado | Fixed | 6.4.0-1ubuntu0.4 | UBUNTU-CVE-2025-67725 |
| Ubuntu 22.04 | python-tornado | Fix pending | 6.1.0-3ubuntu0.1~esm4 (Ubuntu Pro) | UBUNTU-CVE-2025-67725 |
| Ubuntu 20.04 | python-tornado | Fix pending | 6.0.3+really5.1.1-3ubuntu0.1~esm3 (Ubuntu Pro) | UBUNTU-CVE-2025-67725 |
| Ubuntu 18.04 | python-tornado | Fix pending | 4.5.3-1ubuntu0.2+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-67725 |
| Ubuntu 16.04 | python-tornado | Fix pending | 4.2.1-1ubuntu3.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-67725 |
| Debian 14 | python-tornado | Fixed | 6.5.4-0.1 | DEBIAN-CVE-2025-67725 |
| Debian 13 | python-tornado | Fixed | 6.4.2-3+deb13u2 | DEBIAN-CVE-2025-67725 |
| Debian 12 | python-tornado | Fixed | 6.2.0-3+deb12u4 | DEBIAN-CVE-2025-67725 |
| Red Hat Enterprise Linux 9 | pcs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | pcs | Fixed | 0:0.10.18-2.el8_10.8 | RHSA-2026:0930 |
| Red Hat Enterprise Linux 8 | pcs-snmp | Fixed | 0:0.10.18-2.el8_10.8 | RHSA-2026:0930 |
| AlmaLinux 8 | pcs | Fixed | 0.10.18-2.el8_10.8.alma.1 | ALSA-2026:0930 |
| AlmaLinux 8 | pcs-snmp | Fixed | 0.10.18-2.el8_10.8.alma.1 | ALSA-2026:0930 |
| Rocky Linux 8 | pcs | Fixed | 0:0.10.18-2.el8_10.8 | RLSA-2026:0930 |
| Alpine Linux 3.24 | py3-tornado | Fixed | 6.5.4-r0 | ALPINE-CVE-2025-67725 |
| Alpine Linux 3.23 | py3-tornado | Fixed | 6.5.4-r0 | ALPINE-CVE-2025-67725 |
| PyPI library | tornado | Fixed | 6.5.3 | PYSEC-2025-266 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- tornadoweb tornado: affected: < 6.5.3
References
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-c98p-7wgm-6p64
- https://github.com/tornadoweb/tornado/commit/771472cfdaeebc0d89a9cc46e249f8891a6b29cd
- https://github.com/tornadoweb/tornado/releases/tag/v6.5.3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.