Tornado denial of service in HTTP/1.1 chunked decoding
tornadoweb tornado
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tornado PyPI |
|
|
Original description
Tornado is a Python web framework and asynchronous networking library. Prior to 6.6.0, Tornado decodes HTTP/1.1 chunked transfer encoding by processing body data that has already arrived without yielding to the event loop. A remote unauthenticated peer can send millions of one-byte chunks to monopolize the process event loop and stall every other connection served by that process, while lowering max_body_size only limits the duration of each request. For handlers that do not use @stream_request_body, retaining each chunk as a separate object can consume roughly twenty times the received body size, and SimpleAsyncHTTPClient has the same event-loop behavior when reading a response from a malicious server. This issue is fixed in version 6.6.0.
From the CVE record · GitHub_M
References
- github.com/tornadoweb/tornado/security/advisories/GHSA-r4j5-9xpp-3985
- github.com/tornadoweb/tornado/pull/3773
- github.com/tornadoweb/tornado/commit/ceab33581489751a66fba8566ad6d5960d4b01c8
- github.com/tornadoweb/tornado/releases/tag/v6.6.0
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115927.json
- nvd.nist.gov/vuln/detail/CVE-2026-115927
- github.com/tornadoweb/tornado