github.com/andybalholm/brotli
Affected
- introduced
0, fixed1.2.7(semver)
Fixed versions
1.2.7
Fix
- Fixed version
1.2.7go get github.com/andybalholm/[email protected]
Advisory
Also known as: BIT-brotli-2026-111497, BIT-dotnet-2026-111497, BIT-dotnet-sdk-2026-111497, BIT-node-2026-111497, BIT-node-min-2026-111497, BIT-powershell-2026-111497, CVE-2026-111497, GHSA-9v8h-qqgm-4m35, GHSA-c9gr-gmg4-2vqv, PYSEC-2026-4322, PYSEC-2026-4323
Excessive memory allocation when decompressing crafted streams in github.com/andybalholm/brotli
In github.com/andybalholm/brotli before v1.2.7, the decompressor allocates memory for Huffman tables and block-type trees on every meta-block header without bounding the cumulative allocations relative to the input size. A small crafted brotli stream containing many empty meta-blocks with new Huffman trees can trigger hundreds of megabytes of allocations per kilobyte of input, leading to denial of service.
Not rated by the source.
0, fixed 1.2.7 (semver)1.2.7
1.2.7go get github.com/andybalholm/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0