p PatchFirst

CVE-2026-116591

CVE-2026-116591 · compress zstd: Panic on two-block frames

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.7 · High · EPSS 0.3% · Public exploit

Published
Updated

Stack: system

Affected products and versions

  • compress

    Versions
    • < 1.20.2: Affected

    No fix published

  • golang-github-klauspost-compress Debian:12

    Versions
    • 1.15.12+ds1-3
    • 1.17.0+ds1-1
    • 1.17.0+ds1-1~exp1
    • 1.17.10+ds1-1
    • 1.17.11+ds1-1
    • 1.17.2+ds1-1
    • 1.17.7+ds1-1
    • 1.17.9+ds1-1
    • 1.17.9+ds1-1~bpo12+1
    • 1.18.0+ds1-1
    • 1.18.1+ds1-1
    • 1.18.6+ds1-1
    • 1.18.6+ds1-2
    • 1.19.0+ds1-1
    • 1.19.0+ds1-2
    • 1.20.0+ds1-1
    • 1.20.3+ds1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-klauspost-compress Debian:13

    Versions
    • 1.18.0+ds1-1
    • 1.18.1+ds1-1
    • 1.18.6+ds1-1
    • 1.18.6+ds1-2
    • 1.19.0+ds1-1
    • 1.19.0+ds1-2
    • 1.20.0+ds1-1
    • 1.20.3+ds1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-klauspost-compress Debian:14

    Versions
    • 1.18.0+ds1-1
    • 1.18.1+ds1-1
    • 1.18.6+ds1-1
    • 1.18.6+ds1-2
    • 1.19.0+ds1-1
    • 1.19.0+ds1-2
    • 1.20.0+ds1-1
    • 1.20.3+ds1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-klauspost-compress Ubuntu:16.04:LTS

    Versions
    • 0.0~git20151221.0.2dd54ae-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-klauspost-compress Ubuntu:18.04:LTS

    Versions
    • 1.2.1-1
    • 1.2.1-2
    • 1.2.1-4
    • 1.2.1-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-klauspost-compress Ubuntu:20.04:LTS

    Versions
    • 1.2.1-5
    • 1.7.6-2
    • 1.9.5-1
    • 1.9.5-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-klauspost-compress Ubuntu:22.04:LTS

    Versions
    • 1.11.7-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-klauspost-compress Ubuntu:24.04:LTS

    Versions
    • 1.15.12+ds1-3
    • 1.17.7+ds1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-klauspost-compress Ubuntu:26.10

    Versions
    • 1.18.1+ds1-1
    • 1.19.0+ds1-1
    • 1.20.0+ds1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-klauspost-compress Ubuntu:26.04:LTS

    Versions
    • 1.18.0+ds1-1
    • 1.18.1+ds1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →