Decompression Bomb Affecting urllib3 package, versions [2.6.0,2.7.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (6th 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-PYTHON-URLLIB3-16642059
  • published12 May 2026
  • disclosed11 May 2026
  • creditKarim Foughali

Introduced: 11 May 2026

CVE-2026-44432  (opens in a new tab)
CWE-409  (opens in a new tab)

How to fix?

Upgrade urllib3 to version 2.7.0 or higher.

Overview

urllib3 is a HTTP library with thread-safe connection pooling, file post, and more.

Affected versions of this package are vulnerable to Decompression Bomb either in HTTPResponse.read() when Brotli is in use, or when HTTPResponse.drain_conn() is called after partial decompression has begun. An attacker can cause excessive resource consumption on the client by sending a highly compressed response that, when decompressed, results in high CPU usage and large memory allocation.

Workaround

This vulnerability can be avoided for the Brotli dependency by switching to brotlicffi.

CVSS Base Scores

version 4.0
version 3.1