CVE-2026-111497: Excessive memory allocation when decompressing crafted streams in github.com/andybalholm/brotli
Published 2026-11-05 · Updated 2026-11-26 · 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, GHSA-9v8h-qqgm-4m35, GHSA-c9gr-gmg4-2vqv, GO-2026-6888, PYSEC-2026-4322, PYSEC-2026-4323
Summary
The brotli library allocates unbounded memory for Huffman tables on each meta‑block header, allowing a crafted stream to cause massive allocations and denial of service. Projects using github.com/andybalholm/brotli before version 1.2.7 should upgrade.
Who is affected
Any application that imports the github.com/andybalholm/brotli Go package and processes untrusted Brotli streams is vulnerable if the version is older than 1.2.7. An attacker can supply a small input that triggers hundreds of megabytes of memory allocation per kilobyte, leading to denial of service.
Exploitability
The EPSS score of 0.330 (percentile 0.987) shows a high likelihood of exploitation, and CISA KEV lists the vulnerability as actively exploited. No CVSS vector is provided, but the combination indicates a readily exploitable DoS issue.
Remediation
- Upgrade the github.com/andybalholm/brotli package to version 1.2.7 or later.
- Recompile or restart services after upgrading to apply the fix that bounds allocations relative to input size.
How to check your project
- Check the version of github.com/andybalholm/brotli in your Go module (e.g., `go list -m github.com/andybalholm/brotli`) and ensure it is 1.2.7 or newer.
Automated analysis of the published advisory data, generated 2026-11-26. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/andybalholm/brotli |
>= 0, < 1.2.7 | 1.2.7 | go get github.com/andybalholm/[email protected] |
CISA Known Exploited Vulnerabilities
Added 2026-10-27 · Federal remediation due 2026-11-10 · Known ransomware use: Unknown
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
FAQ
Which versions of the brotli library are affected?
All versions prior to 1.2.7.
How can I mitigate this vulnerability?
Upgrade the github.com/andybalholm/brotli package to version 1.2.7 or newer.
Is the vulnerability currently being exploited?
Yes, CISA KEV indicates the vulnerability is actively exploited.
Original advisory description
References
- ADVISORY https://github.com/andybalholm/brotli/security/advisories/GHSA-c9gr-gmg4-2vqv
- FIX https://github.com/andybalholm/brotli/commit/33c2a9884269798192b5ecf171288f98939dbe42
- WEB https://github.com/andybalholm/brotli/releases/tag/v1.2.7
- WEB https://github.com/google/brotli/commit/0ed4268a4401abcb4472096340477cf4af7d1a2b
Source records: GO-2026-6888 (OSV.dev) · EPSS by FIRST, 2026-11-28 · CISA KEV catalogue.