← VULNERABILITIES

DHI-i5dv-3oll-cluw-7iib

compress provides various compression algorithms. Prior to 1.20.2, the zstd DecodeAll and streaming decoder paths can…

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-19
Age
14d old
Modified
2026-11-22
Product
Docker Hardened Images:Alpine:3.24 alertmanager-dev

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.

Fixed in

0.38.0-2 · 1.25.0-r1 · 29.9.3-r0 · 5.7.0-1

Affected packages

EcosystemPackageRangeFixed
Docker Hardened Images:Alpine:3.23docker>=0, <29.9.3-r029.9.3-r0
Docker Hardened Images:Alpine:3.24docker>=0, <29.9.3-r029.9.3-r0
Docker Hardened Images:Alpine:3.24docker-scout-cli-plugin>=0, <1.25.0-r11.25.0-r1
Docker Hardened Images:Debian:13docker-buildx-plugin>=0, <0.38.0-20.38.0-2
Docker Hardened Images:Debian:13docker-compose-plugin>=0, <5.7.0-15.7.0-1

Sources

  • OSV · first seen 14d ago · CC-BY 4.0

References

JSON