Tornado: Quadratic DoS via Repeated Header CoalescingGHSA-c98p-7wgm-6p64
HIGHFix: tornadoweb/tornado@771472cGHSA-c98p-7wgm-6p64 is a high-severity (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in tornado. A fix is available for tornado — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-c98p-7wgm-6p64.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
GHSA-c98p-7wgm-6p64 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
tornadoReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | tornado | all versions | 6.5.3pip install --upgrade 'tornado==6.5.3' |
Affected Products
tornadotornadowebDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for tornado, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update tornado to 6.5.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-c98p-7wgm-6p64 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
The availability impact of this flaw is partially mitigated on Red Hat products as the host systems are not at risk.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.Source: Red Hat security advisory for GHSA-c98p-7wgm-6p64 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 8 | pcs-0:0.10.18-2.el8_10.8 | RHSA-2026:0930 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | pcs-0:0.10.8-1.el8_4.10 | RHSA-2026:2462 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | pcs-0:0.10.12-6.el8_6.12 | RHSA-2026:2469 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | pcs-0:0.10.15-4.el8_8.10 | RHSA-2026:2465 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | pcs-0:0.11.1-10.el9_0.10 | RHSA-2026:2484 |
| Red Hat OpenShift AI 2.25 | rhoai/odh-llama-stack-core-rhel9:1770237759 | RHSA-2026:2106 |
| Red Hat OpenShift AI 3.3 | rhoai/odh-llama-stack-core-rhel9:1771415661 | RHSA-2026:3713 |
Frequently Asked Questions
Is GHSA-c98p-7wgm-6p64 in your dependencies?
Find it across PyPI, including transitive dependencies.