Skip to content

github.com/andybalholm/brotli

Follow this package

Get the evidence behind this dependency. Browse imported advisories below, or check an exact version against OSV now. View source coverage.

Check the version you ship.

Get a fresh OSV lookup for an exact release. We send the package name and version to OSV without storing a report.

Advisories & recorded fixes

critical9.8
CVE-2026-111497 Known exploitedPackage fixes recorded

Brotli: Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package

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.

Recorded fixes — brotli: 1.2.1; brotlicffi: 1.2.1.0; 1 more packages. Check your release branch.

Affected range Recorded fix
Earlier releases before 1.2.7Semantic versions1.2.7

Version evidence: OSV · GO-2026-6888

View original version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "0"
        },
        {
          "fixed": "1.2.7"
        }
      ],
      "type": "SEMVER"
    }
  ],
  "versions": []
}