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

CVE-2026-44432: urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API

May 11, 2026

urllib3’s streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.

urllib3 can perform decompression based on the HTTP Content-Encoding header (e.g., gzip, deflate, br, or zstd). When using the streaming API since version 2.6.0, the library decompresses only the necessary bytes, enabling partial content consumption.

However, urllib3 before version 2.7.0 could still decompress the whole response instead of the requested portion in two cases:

  1. During the second HTTPResponse.read(amt=N) call when the response was decompressed using the official Brotli library.
  2. When HTTPResponse.drain_conn() was called after the response had been read and decompressed partially (compression algorithm did not matter here).

These issues could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This could result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side.

References

  • github.com/advisories/GHSA-mf9v-mfxr-j63j
  • github.com/urllib3/urllib3
  • github.com/urllib3/urllib3/security/advisories/GHSA-mf9v-mfxr-j63j
  • nvd.nist.gov/vuln/detail/CVE-2026-44432

Code Behaviors & Features

Detect and mitigate CVE-2026-44432 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 starting from 2.6.0 before 2.7.0

Fixed versions

  • 2.7.0

Solution

Upgrade to version 2.7.0 or above.

Impact 8.6 HIGH

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

Learn more about CVSS

Weakness

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

Source file

pypi/urllib3/CVE-2026-44432.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 12 May 2026 00:21:03 +0000.