Excessive memory allocation when decompressing crafted streams in github.com/andybalholm/brotli
Historical advisory saved 26 Nov 2026 11:17:12 UTC. The publisher may have updated it since then. Latest advisory.
osv · GO-2026-6888
PublishedIn 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.
- Source published
- 5 Nov 2026 22:55:15 UTC
- Source modified
- 26 Nov 2026 10:57:26 UTC
- Saved here
- 26 Nov 2026 11:17:12 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.