7.5high
tornado AsyncHTTPClient accumulates decompressed chunks without size limit (gzip bomb)
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-mgf9-4vpg-hj56PYSEC-2026-3389
Description
Tornado is a Python web framework and asynchronous networking library. Prior to 6.5.6, Tornado gzip decompression routines processed limited-size chunks but did not enforce an overall limit on accumulated decompressed chunks, allowing a malicious server accessed by SimpleAsyncHTTPClient or an HTTPServer configured with decompress_request=True to consume effectively unlimited memory. This issue is fixed in version 6.5.6.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| tornadoweb tornado | < 6.5.6 | CVE List |
| tornado (PyPI) | before 6.5.6 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Tornado is a Python web framework and asynchronous networking library. Prior to 6.5.6, Tornado gzip decompression routines processed limited-size chunks but did not enforce an overall limit on accumulated decompressed chunks, allowing a malicious server accessed by SimpleAsyncHTTPClient or an HTTPServer configured with decompress_request=True to consume effectively unlimited memory. This issue is fixed in version 6.5.6.
GitHub Advisory Database
Tornado's gzip decompression routines work in limited-size chunks, but have no overall limit for the total size of decompressed chunks that they will accumulate (There has always been a limit for the total compressed size). This allows a malicious server to consume effectively unlimited amounts of memory if it is accessed via SimpleAsyncHTTPClient in its default configuration. HTTPServer is not affected in its default configuration, but it is if decompress_request=True is set.
This bug is fixed in Tornado 6.5.6. max_body_size is now checked both for the compressed and cumulative decompressed size of the response.
Prior to upgrading, this issue can be mitigated by setting decompress_response=False or using CurlAsyncHTTPClient.
NVD (es)
Tornado es un framework web de Python y una biblioteca de red asíncrona. Antes de la versión 6.5.6, las rutinas de descompresión gzip de Tornado procesaban fragmentos de tamaño limitado pero no aplicaban un límite general a los fragmentos descomprimidos acumulados, lo que permitía a un servidor malicioso accedido por SimpleAsyncHTTPClient o un HTTPServer configurado con decompress_request=True consumir memoria de forma efectivamente ilimitada. Este problema está solucionado en la versión 6.5.6.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49855 changed 2026-07-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mgf9-4vpg-hj56 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-49855 changed 2026-10-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3389 changed 2026-07-13 | CC-BY-4.0 |