ADVISORIES

openEuler Security Advisory

OESA-2026-4501

python-urllib3 security update

Details

Sanity-friendly HTTP client for Python

Security Fix(es):

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.(CVE-2026-97689)

Affected packages

EcosystemPackageAffected versions
openEuler:24.03-LTS-SP1python-urllib3
All versions before 1.26.18-10.oe2403sp1 (fixed in 1.26.18-10.oe2403sp1)

References