Ubuntu Security Notice
USN-7927-1
python-urllib3 vulnerabilities
Details
Illia Volochii discovered that urllib3 did not limit the steps in a decompression chain. An attacker could possibly use this issue to cause urllib3 to use excessive resources, causing a denial of service. (CVE-2025-66418)
Rui Xi discovered that urllib3 incorrectly handled highly compressed data. An attacker could possibly use this issue to cause urllib3 to use excessive resources, causing a denial of service. This issue only affected Ubuntu 24.04 LTS, Ubuntu 25.04, and Ubuntu 25.10. (CVE-2025-66471)
For the brotli encoding, the fix for CVE-2025-66471 requires an additional security update in the brotli package.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:20.04:LTS | python-urllib3 | All versions before 1.25.8-2ubuntu0.4+esm2 (fixed in 1.25.8-2ubuntu0.4+esm2) |
| Ubuntu:22.04:LTS | python-urllib3 | All versions before 1.26.5-1~exp1ubuntu0.4 (fixed in 1.26.5-1~exp1ubuntu0.4) |
| Ubuntu:24.04:LTS | python-urllib3 | All versions before 2.0.7-1ubuntu0.3 (fixed in 2.0.7-1ubuntu0.3) |
| Ubuntu:25.10 | python-urllib3 | All versions before 2.3.0-3ubuntu0.1 (fixed in 2.3.0-3ubuntu0.1) |