Advisory

GO-2026-6888

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

Summary

Excessive memory allocation when decompressing crafted streams in github.com/andybalholm/brotli

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-11-05 22:55 UTC
Modified
2026-11-05 23:25 UTC

Affected packages and fixes

github.com/andybalholm/brotli

Go · All systems

Affected

  • introduced 0, fixed 1.2.7 (semver)

Fixed versions

1.2.7

Fix

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

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences