CVE-2026-116591klauspost compress
High 8.7 No auth needed
Follow: this CVE · klauspost · klauspost compress We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Oct 26, 2026
- Updated
- Oct 27, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for compress.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/klauspost/compress |
< 1.20.2 |
1.20.2 |
go get github.com/klauspost/compress@v1.20.2 |
| Go | github.com/klauspost/compress/zstd |
< 1.20.2 |
1.20.2 |
go get github.com/klauspost/compress/zstd@v1.20.2 |
Per OSV / GitHub Advisories (GO-2026-6865, GHSA-fpmh-frq8-7rj8). Check the version in your lockfile before upgrading.
Affected products
- klauspost · compress
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:106316 · Dec 2, 2026 High
- Red Hat Security Advisory: oci-delta security update · Red Hat · RHSA-2026:105064 · Dec 1, 2026 High
- Red Hat Security Advisory: oci-delta security update · Red Hat · RHSA-2026:105065 · Dec 1, 2026 High
- prometheus-blackbox_exporter-0.29.1-1.1 on GA media · SUSE · openSUSE-SU-2026:12735-1 · Nov 30, 2026 Critical
- rqlite-10.7.4-1.1 on GA media · SUSE · openSUSE-SU-2026:12634-1 · Nov 20, 2026 Critical
- velociraptor-0.77.3.0.git141.b1612b50b-1.1 on GA media · SUSE · openSUSE-SU-2026:12622-1 · Nov 19, 2026 Critical
Also: Red Hat (+45), SUSE (+24)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.