Tornado: Event loop blocking and excess memory use from chunked bodies with many small chunks
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| tornadowebtornado | — | Not listed |
| piptornado |
< 6.6→ 6.6 |
6.6 |
| PyPItornado |
< 6.6→ 6.6 |
6.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115927 python-tornado Fix available
- Ubuntu UBUNTU-CVE-2026-115927 python-tornado No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com