Skip to content

panic or infinite loop when decoding malformed brotli-compressed data

Low
andybalholm published GHSA-c9gr-gmg4-2vqv Oct 26, 2026

Package

gomod github.com/andybalholm/brotli (Go)

Affected versions

< 1.2.7

Patched versions

1.2.7

Description

Summary

This is the same bug as CVE-2026-111497, but since Go does bounds checking, it is just a panic or infinite loop (potential denial of service) instead of a buffer overflow and RCE.

Details

An invalid block-switch command in the compressed data could cause the decoder to read past the end of the input.

Impact

denial of service, when an attacker provides invalid data that crashes the process

Severity

Low

CVE ID

No known CVE

Weaknesses

No CWEs