SCA: security update for github.com/klauspost/compress/zstd (GHSA-fpmh-frq8-7rj8)

high Tenable Cloud Security Plugin ID 477597

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-116591)

Solution

Update the github.com/klauspost/compress/zstd library and its related packages to version 1.20.2 or later.

See Also

https://github.com/advisories/GHSA-fpmh-frq8-7rj8

Plugin Details

Severity: High

ID: 477597

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/27/2026

Updated: 10/27/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2026-116591

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/27/2026

Vulnerability Publication Date: 10/26/2026

Reference Information

CVE: CVE-2026-116591

cwe: CWE-190