Critical Security Update for Brotli: Addressing Python Decompression Bomb Vulnerability

brotli Updated 06 Feb 2026

Summary

05/02/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:2042: Important: brotli security update. Affects brotli versions < 1.0.9-9.el9_7. Fixed in 1.0.9-9.el9_7. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Brotli is a versatile lossless compression algorithm designed to compress data efficiently using a combination of modern LZ77, Huffman coding, and context modeling. It is known for achieving a high compression ratio while maintaining speed comparable to other methods like deflate. The algorithm is widely used in web applications and data storage solutions. However, it has been found vulnerable to a decompression bomb denial-of-service (DoS) attack, which can exploit the decompression process to consume excessive resources.

Vulnerability Detail

The vulnerability identified as CVE-2025-6176 pertains to a decompression bomb in the Brotli implementation within Python's Scrapy framework. This vulnerability allows an attacker to craft a specially designed compressed file that, when decompressed, can lead to resource exhaustion on the server, potentially causing a denial of service. The issue arises from the way Brotli handles decompression, which can lead to excessive memory and CPU usage, impacting the availability of the affected service.

How To Fix

Minimum fixed version

1.0.9-9.el9_7

This is the first release that contains the fix.

sudo dnf update brotli

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 compressed files that your application processes or implement checks to validate the integrity and size of incoming compressed data before decompression. This can help mitigate the risk of a decompression bomb attack.

Conclusion

The Brotli compression algorithm has a critical vulnerability that can lead to denial of service through decompression bombs. It is crucial for users of the affected packages to update to the patched version to safeguard their applications. Implementing workarounds can provide temporary relief while updates are being applied.

See every vulnerability recorded for brotli →

Share this vulnerability

FAQ

A decompression bomb is a maliciously crafted compressed file that expands to a significantly larger size when decompressed, consuming excessive system resources and potentially leading to denial of service.

If your application uses the affected Brotli packages, it may be susceptible to denial of service attacks, which can disrupt service availability and degrade performance.

If immediate updates are not possible, consider implementing size limits on compressed files and validating their integrity before processing to reduce the risk of exploitation.

Detailed information about this vulnerability can be found on the CVE page for CVE-2025-6176, which includes technical details and impact assessments.

Vulert provides a service that monitors open-source vulnerabilities in your software using just a manifest file like package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

Related vulnerabilities

Recent vulnerabilities recorded for brotli.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.0.9-9.el9_7

This is the first release that contains the fix.

sudo dnf update brotli

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