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.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 6
- StatusAwaiting Analysis → PublishedNVD modified 2026-10-27 14:16
- StatusPublished → Awaiting AnalysisNVD modified 2026-10-27 16:03
- StatusReceived → PublishedNVD modified 2026-10-27 14:16
- StatusPublished → ReceivedNVD modified 2026-10-27 15:16
- StatusReceived → PublishedNVD modified 2026-10-26 21:55
- First seenCVSS 8.7NVD modified 2026-10-26 22:16
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.