Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. tornado
  4. ›
  5. CVE-2026-49855

CVE-2026-49855: tornado AsyncHTTPClient accumulates decompressed chunks without size limit (gzip bomb)

June 15, 2026

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.

References

  • github.com/advisories/GHSA-mgf9-4vpg-hj56
  • github.com/tornadoweb/tornado/security/advisories/GHSA-mgf9-4vpg-hj56
  • nvd.nist.gov/vuln/detail/CVE-2026-49855

Code Behaviors & Features

Detect and mitigate CVE-2026-49855 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.5.6

Fixed versions

  • 6.5.6

Solution

Upgrade to version 6.5.6 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)

Source file

pypi/tornado/CVE-2026-49855.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:49 +0000.