Excessive memory allocation when decompressing crafted streams in github.com/andybalholm/brotli
Historical advisory saved 5 Nov 2026 23:38:32 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
- 5 Nov 2026 23:25:49 UTC
- Saved here
- 5 Nov 2026 23:38:32 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.