CVE-2026-115927 — Vulnerability in tornado — CVE Details
Tornado: Event loop blocking and excess memory use from chunked bodies with many small chunks
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.52%). Schedule for your next planned update.
Does your project use an affected tornado version?
Paste your requirements.txt to check it for CVE-2026-115927 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
When Tornado reads an HTTP/1.1 body that uses chunked transfer encoding, it processes all chunks that have already arrived without yielding to the event loop. A client can send a body made of millions of 1-byte chunks, which blocks the event loop (and therefore every other connection served by that process) for the entire time it takes to parse the body. A body near the default max_body_size of 100 MB can block the process for close to a minute, and the attacker can repeat or parallelize these requests.
Bodies made of tiny chunks also consumed far more memory than their size: a handler that does not use @stream_request_body stored each chunk as a separate object, using roughly 20 times as much memory as the bytes received.
Impact
All Tornado HTTP servers are affected when they receive a request body for a handler that reads it, which includes any handler that does not reject the request before the body is read. No authentication is required. Lowering max_body_size reduces the maximum blocking time and memory use for each request but does not remove the issue.
SimpleAsyncHTTPClient is affected in the same way when it reads a response from a malicious server.
Patches
Fixed in Tornado 6.6. Tornado now yields to the event loop periodically while reading any body, combines small chunks before passing them to data_received, and stores non-streaming bodies more compactly.
Applications using @stream_request_body should note that the pieces passed to data_received no longer correspond to HTTP chunk boundaries.
Workarounds
- Run Tornado behind a reverse proxy that buffers request bodies and forwards them with a
Content-Lengthheader instead of chunked encoding. - Lower
max_body_size(for the whole server or for individual handlers) to limit the impact of each request.
Credit
Reported by uttej-badwane.
Advisory Timeline
- First published October 28, 2026 (29 days ago).
- Last revised October 28, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "tornado>=6.6"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| tornado PyPI · Affected: 0.2, 1.0, 1.1, 1.1.1 (+85 more) | 6.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/tornadoweb/tornado/security/advisories/GHSA-r4j5-9xpp-3985WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-115927ADVISORY
- https://github.com/tornadoweb/tornado/pull/3773WEB
- https://github.com/tornadoweb/tornado/commit/ceab33581489751a66fba8566ad6d5960d4b01c8WEB
- https://github.com/tornadoweb/tornadoPACKAGE
- https://github.com/tornadoweb/tornado/releases/tag/v6.6.0WEB
Frequently Asked Questions
- What is CVE-2026-115927?
- Tornado: Event loop blocking and excess memory use from chunked bodies with many small chunks. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
- How do I check if my project is affected by CVE-2026-115927?
- CVE-2026-115927 affects tornado. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-115927 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 37.8% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2025-67726HIGH
Tornado: Quadratic DoS via Crafted Multipart Parameters
- CVE-2026-49855HIGH
tornado AsyncHTTPClient accumulates decompressed chunks without size limit (gzip bomb)
- CVE-2026-82397HIGH
Tornado: Urlencoded body parsing omits max_num_fields, so one request can stall the event loop
- CVE-2026-31958HIGH
Tornado is vulnerable to DoS due to too many multipart parts
- CVE-2026-116577MEDIUM
Tornado: Quadratic CPU usage when parsing HTTP headers with line folding
- CVE-2025-67724MEDIUM
Tornado vulnerable to Header Injection and XSS via reason argument
- CVE-2026-91992MEDIUM
Tornado: CurlAsyncHTTPClient leaks per-request credentials on handle reuse
- CVE-2026-116578LOW
Tornado: Open redirect in RedirectHandler via protocol-relative URLs