ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-97689

Details

urllib3 is an HTTP client library for Python. From 1.10.3 until 2.8.0, the HTTPResponse.read_chunked and HTTPResponse.stream methods can allocate unbounded memory because the streaming chunk parser buffers the chunk-size field until newline or EOF without a length bound. The trigger is that a malicious server returns Transfer-Encoding: chunked followed by a very long run of bytes without a newline. The attack mechanism is that a malicious HTTP server sends a very long unterminated chunk-size line. The impact is that unbounded memory allocation can exhaust the client process. This issue is fixed in version 2.8.0.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython-pip
All versions, no fix listed
Ubuntu:Pro:16.04:LTSpython-urllib3
All versions, no fix listed
Ubuntu:Pro:16.04:LTSpython-pip
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython-urllib3
All versions before 1.22-1ubuntu0.18.04.2+esm5 (fixed in 1.22-1ubuntu0.18.04.2+esm5)
Ubuntu:Pro:18.04:LTSpython-pip
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython-urllib3
All versions before 1.25.8-2ubuntu0.4+esm6 (fixed in 1.25.8-2ubuntu0.4+esm6)
Ubuntu:Pro:20.04:LTSpython-pip
All versions, no fix listed
Ubuntu:22.04:LTSpython-urllib3
All versions before 1.26.5-1~exp1ubuntu0.8 (fixed in 1.26.5-1~exp1ubuntu0.8)
Ubuntu:Pro:22.04:LTSpython-pip
All versions, no fix listed
Ubuntu:24.04:LTSpython-urllib3
All versions before 2.0.7-1ubuntu0.8 (fixed in 2.0.7-1ubuntu0.8)
Ubuntu:Pro:24.04:LTSpython-pip
All versions, no fix listed
Ubuntu:26.10python-pip
All versions, no fix listed
Ubuntu:26.04:LTSpython-urllib3
All versions before 2.6.3-1ubuntu1.2 (fixed in 2.6.3-1ubuntu1.2)
Ubuntu:Pro:26.04:LTSpython-pip
All versions, no fix listed

References