Vulnerability

CVE-2026-116591

highCVSS 4.0 8.7Published 26 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

compress 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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /klauspost/compress/commit/7f5d8528720c895a6106f201719f87eb…
  • github.com /klauspost/compress/releases/tag/v1.20.2
  • github.com /klauspost/compress/security/advisories/GHSA-fpmh-frq8-7rj8

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning