High severity · published Oct 26, 2026
CVE-2026-116591
compress zstd: Panic on two-block frames
New
8.7
CVSS
0.3%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 26% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
compress · klauspost
< 1.20.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-116591
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-116591
github.com
https://github.com/klauspost/compress/commit/7f5d8528720c895a6106f201719f87eb030a565d
github.com
https://github.com/klauspost/compress/releases/tag/v1.20.2
github.com
https://github.com/klauspost/compress/security/advisories/GHSA-fpmh-frq8-7rj8
More from compress
7.5
CVE-2026-63209
Integer Overflow or Wraparound and Out-of-bounds Write in compress
