Improper Handling of Highly Compressed Data (Data Amplification) Affecting bandit package, versions >=0.3.3 <1.14.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.6% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-HEX-BANDIT-21755472
  • published27 Oct 2026
  • disclosed26 Oct 2026
  • creditUnknown

Introduced: 26 Oct 2026

NewCVE-2026-109584  (opens in a new tab)
CWE-409  (opens in a new tab)

How to fix?

Upgrade bandit to version 1.14.0 or higher.

Overview

bandit is a HTTP server for Plug and WebSock apps.

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) via the HTTP/2 implementation of mtrudel bandit allows an unauthenticated remote attacker to exhaust server memory via a small HPACK-compressed HEADERS block. The attack defines a large cookie value in the HPACK dynamic table and repeatedly references it using 1-byte indices. Because max_header_list_size defaults to :infinity, Bandit enforces no size cap on the decompressed headers; combine_cookie_crumbs/1 then concatenates all instances into an enormous binary. A 49 KB payload can force a 183 MB memory allocation before application logic executes, enabling concurrent streams to rapidly exhaust server memory.

CVSS Base Scores

version 4.0
version 3.1