{"id":"CVE-2025-67725","published":"2025-12-12T05:49:41Z","modified":"2025-12-18T18:51:00Z","title":"Tornado is Vulnerable to Quadratic DoS via Repeated Header Coalescing","vendor":"tornadoweb","product":"tornado","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00599,"percentile":0.49626,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/tornadoweb/tornado/security/advisories/GHSA-c98p-7wgm-6p64","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tornadoweb/tornado/commit/771472cfdaeebc0d89a9cc46e249f8891a6b29cd","tags":["x_refsource_MISC"]},{"url":"https://github.com/tornadoweb/tornado/releases/tag/v6.5.3","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.93},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"tornadoweb","affectedVersions":[{"vendor":"tornadoweb","product":"tornado","versions":["< 6.5.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-18T18:50:52.619221Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"tornado","vulnerableRanges":["<6.5.3"],"patched":["6.5.3"],"from":["GHSA-c98p-7wgm-6p64","PYSEC-2025-266"],"provenance":"source"}],"summary":{"text":"The Tornado Python web framework's HTTPHeaders.add method, in its asynchronous networking library, mishandles repeated header names by concatenating their values as strings, which becomes quadratic in cost as the number of repeats grows. A single crafted HTTP request sent over the network, requiring no authentication or user interaction, can block the server's event loop for an extended period, with the impact depending on whether max_header_size has been raised above its default of 64KB.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:54Z"},"euvd":{"id":"EUVD-2025-203031","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-52804","published":"2024-11-22","fixed":"6.4.2","kev":false},{"cve":"CVE-2025-47287","published":"2025-05-15","fixed":"6.5","kev":false,"link":{"from":"CVE-2025-47287","to":"CVE-2025-67725","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:tornado","fromFixed":"6.5","toFixed":"6.5.3","daysApart":211},{"kind":"same-code","provenance":"machine","files":["tornado/httputil.py"],"commits":["https://github.com/tornadoweb/tornado/commit/b39b892bf78fe8fea01dd45199aa88307e7162f3","https://github.com/tornadoweb/tornado/commit/771472cfdaeebc0d89a9cc46e249f8891a6b29cd"],"basis":"shared file"}]}},{"cve":"CVE-2025-67724","published":"2025-12-12","fixed":"6.5.3","kev":false},{"cve":"CVE-2025-67725","published":"2025-12-12","fixed":"6.5.3","kev":false},{"cve":"CVE-2025-67726","published":"2025-12-12","fixed":"6.5.3","kev":false},{"cve":"CVE-2026-31958","published":"2026-03-11","fixed":"6.5.5","kev":false},{"cve":"CVE-2026-35536","published":"2026-04-03","fixed":"6.5.5","kev":false}],"package":"PyPI:tornado"}}