What’s Vulnerable › Vulnerabilities
CVE-2026-116591: compress zstd: Panic on two-block frames
- Severity: high (CVSS 8.7 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-26 · updated 2026-10-27
- Weakness: CWE-190
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
- klauspost compress: before 1.20.2
References
- https://github.com/klauspost/compress/commit/7f5d8528720c895a6106f201719f87eb030a565d
- https://github.com/klauspost/compress/releases/tag/v1.20.2
- https://github.com/klauspost/compress/security/advisories/GHSA-fpmh-frq8-7rj8
Get alerted when CVE-2026-116591 or the next vulnerability affects your stack