CVE-2026-116591

NameCVE-2026-116591
Descriptioncompress provides various compression algorithms. Prior to 1.20.2, the zstd DecodeAll and streaming decoder paths can panic when a crafted two-block frame reaches huff0.ReadTable with an FSE normalized count of 32768 that readNCount stores in int16 as -32768. The wrapped count allows buildDtable to retain stale fse.Scratch decode-table state from the prior block, and nextFast then derives an out-of-range state and indexes beyond the table instead of returning a decode error. Both blocks are required to preserve and then reuse the stale state, allowing untrusted zstd input to crash an application. This issue is fixed in version 1.20.2.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-klauspost-compress (PTS)bookworm1.15.12+ds1-3vulnerable
trixie1.18.0+ds1-1vulnerable
forky, sid1.20.3+ds1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-klauspost-compresssource(unstable)1.20.3+ds1-1

Notes

[trixie] - golang-github-klauspost-compress <no-dsa> (Minor issue)
https://github.com/klauspost/compress/security/advisories/GHSA-fpmh-frq8-7rj8
https://github.com/klauspost/compress/commit/7f5d8528720c895a6106f201719f87eb030a565d (v1.20.2)

Search for package or bug name: Reporting problems