Infinite loop Affecting urllib3 package, versions [2.6.2,2.8.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (20th 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-20302845
  • published30 Sept 2026
  • disclosed29 Sept 2026
  • creditMartin Desrumaux, Illia Volochii

Introduced: 29 Sep 2026

NewCVE-2026-97688  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade urllib3 to version 2.8.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 Infinite loop via the DeflateDecoder.decompress method in src/urllib3/response.py, where a Deflate-encoded HTTP response that signals EOF can cause the decoder to enter an infinite loop. An attacker serving a malicious response can trigger this condition, causing the client process to hang indefinitely and resulting in a crash of the affected service.

CVSS Base Scores

version 4.0
version 3.1