Critical Security Update for python3.12-urllib3: Addressing Resource Exhaustion and Decompression Bomb Vulnerabilities

python3.12-urllib3 Updated 30 Jan 2026

Summary

26/01/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:1226: Important: python3.12-urllib3 security update. Affects python3.12-urllib3 versions < 1.26.19-2.el8_10. Fixed in 1.26.19-2.el8_10. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Python is a widely-used interpreted, interactive, object-oriented programming language known for its simplicity and versatility. The urllib3 module is a powerful HTTP library for Python that enables users to send HTTP requests and handle responses efficiently. However, recent vulnerabilities have been identified in urllib3 that could lead to severe security issues, including resource exhaustion and decompression bomb attacks, particularly when handling compressed data.

Vulnerability Detail

The vulnerabilities in urllib3 stem from improper handling of compressed data and HTTP redirects. Specifically, CVE-2025-66418 describes an unbounded decompression chain that can lead to resource exhaustion, potentially crashing the application. CVE-2025-66471 highlights issues with the Streaming API that fails to manage highly compressed data correctly, while CVE-2026-21441 points to a safeguard bypass when following HTTP redirects, allowing decompression bombs to exploit the system's resources.

How To Fix

Minimum fixed version

1.26.19-2.el8_10

This is the first release that contains the fix.

sudo dnf update python3.12-urllib3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, you can limit the size of the data being processed by urllib3 to mitigate the risk of resource exhaustion. This can be done by implementing checks in your code to restrict the size of incoming compressed data. For example, you can add a condition to reject requests that exceed a certain size threshold.

Conclusion

In summary, the vulnerabilities in python3.12-urllib3 pose significant risks, including resource exhaustion and decompression bomb attacks. It is crucial to update to the latest patched version to safeguard your applications. Implementing temporary workarounds can help mitigate risks until the update is applied.

See every vulnerability recorded for python3.12-urllib3 →

Share this vulnerability

FAQ

Urllib3 is a powerful HTTP library for Python that simplifies sending HTTP requests and handling responses.

The main vulnerabilities include resource exhaustion due to unbounded decompression chains and improper handling of compressed data.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by these vulnerabilities without needing to sign up.

If an immediate update is not possible, implement size checks on incoming compressed data to reduce the risk of exploitation.

For more details, refer to the CVE pages associated with the vulnerabilities: CVE-2025-66418, CVE-2025-66471, and CVE-2026-21441.

Related vulnerabilities

Recent vulnerabilities recorded for python3.12-urllib3.

How To Fix

Minimum fixed version

1.26.19-2.el8_10

This is the first release that contains the fix.

sudo dnf update python3.12-urllib3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback