{"id":"CVE-2026-116591","published":"2026-10-26T21:54:33Z","modified":"2026-10-27T14:16:30Z","title":"compress zstd: Panic on two-block frames","vendor":"klauspost","product":"compress","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0053,"percentile":0.45724,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/klauspost/compress/security/advisories/GHSA-fpmh-frq8-7rj8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/klauspost/compress/commit/7f5d8528720c895a6106f201719f87eb030a565d","tags":["x_refsource_MISC"]},{"url":"https://github.com/klauspost/compress/releases/tag/v1.20.2","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.14},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"klauspost","affectedVersions":[{"vendor":"klauspost","product":"compress","versions":["< 1.20.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-27T13:46:04.382421Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/klauspost/compress/zstd","vulnerableRanges":["<1.20.2"],"patched":["1.20.2"],"from":["GHSA-fpmh-frq8-7rj8"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/klauspost/compress","vulnerableRanges":["<1.20.2"],"patched":["1.20.2"],"from":["GO-2026-6865"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-110497","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-63209","published":"2026-09-29","fixed":"1.18.7","kev":false,"link":{"from":"CVE-2026-63209","to":"CVE-2026-116591","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/klauspost/compress","fromFixed":"1.18.7","toFixed":"1.20.2","daysApart":27}]}},{"cve":"CVE-2026-116591","published":"2026-10-26","fixed":"1.20.2","kev":false}],"package":"Go:github.com/klauspost/compress"}}