Red Hat VEX
RHVEX-CVE-2025-67725
tornado: Tornado Quadratic DoS via Repeated Header Coalescing
Details
A denial of service flaw has been discovered in the Tornado networking library. In Tornado, 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:9 | pcs | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | pcs-snmp | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2025-67725
- https://bugzilla.redhat.com/show_bug.cgi?id=2421722
- https://www.cve.org/CVERecord?id=CVE-2025-67725
- https://nvd.nist.gov/vuln/detail/CVE-2025-67725
- https://github.com/tornadoweb/tornado/commit/771472cfdaeebc0d89a9cc46e249f8891a6b29cd
- https://github.com/tornadoweb/tornado/releases/tag/v6.5.3
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-c98p-7wgm-6p64