GO-2026-6888

    Dashboard / Vulnerabilities / GO-2026-6888

    GO-2026-6888

    Published: 5 Nov 2026Last Modified: 5 Nov 2026

    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.

    Affected packages

    Package

    Name: github.com/andybalholm/brotli

    Purl: pkg:golang/github.com/andybalholm/brotli

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.2.7

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GO-2026-6888 | CVE-DB