
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-116591 is a Denial of Service vulnerability in the klauspost/compress Go library's zstd decoder, where a crafted ~27 KB two-block zstd frame causes DecodeAll and the streaming decoder to panic with an out-of-range slice index instead of returning a decode error. It affects all versions up to and including v1.20.1 of github.com/klauspost/compress/zstd. The vulnerability was published on October 12, 2026, and patched in v1.20.2. It carries a CVSS v3.1 score of 7.5 (High) and a CVSS v4.0 score of 8.7 (High) (Github Advisory, Red Hat Bugzilla).
The root cause involves two weaknesses: an integer overflow/wraparound (CWE-190) and an out-of-bounds read (CWE-125). Three conditions must hold simultaneously: (1) readNCount permits a tableLog up to 15, allowing a normalized FSE count of 32768 (2^15), which is stored in an int16 and wraps to −32768 — passing int32-based validation checks; (2) buildDtable treats −32768 as neither a low-probability symbol (−1) nor a valid positive count, so its spread loop runs zero times and leaves the decode table unwritten; (3) huff0 shares a single fse.Scratch across blocks without clearing it, so the second block's malformed table is built on top of the first block's stale state. When nextFast processes a cell with nbBits == 0, it reads 16 junk bits into the state and indexes past the end of the decode table, triggering a Go runtime panic (index out of range [33077] with length 32768). The streaming decoder panics on its own goroutine, making the panic unrecoverable by callers. A complete, runnable Go proof-of-concept is publicly available (Github Advisory, Fix Commit).
Successful exploitation results in an unrecoverable application crash (panic) in any Go program that decompresses untrusted zstd input using the klauspost/compress library, constituting a complete availability impact with no confidentiality or integrity impact. Because the streaming decoder panics on a separate goroutine, callers cannot guard against it with standard Go error handling, making the denial of service reliable and repeatable. The vulnerability affects a wide range of downstream software that vendors the library, including Docker, Kubernetes, Telegraf, Skopeo, CoreDNS, and other Azure Linux 3 packages (Github Advisory, Red Hat Bugzilla).
A public proof-of-concept exploit (a self-contained Go test function) is available in the GitHub Security Advisory and can be used to reproduce the panic on vulnerable versions (Github Advisory). The vulnerability is exploitable by unauthenticated, remote attackers with no user interaction required, and NVD's SSVC assessment marks it as automatable. The EPSS score is approximately 0.333% (27th percentile), and there is no evidence of active in-the-wild exploitation or CISA KEV catalog inclusion at this time (Github Advisory).
github.com/klauspost/compress v1.20.0 or v1.20.1 for zstd decompression of user-supplied or network-sourced data (e.g., APIs, file upload endpoints, message queues).int16). The first block must prime the shared fse.Scratch with valid state that the second block's malformed table will inherit.zstd.DecodeAll() or a streaming zstd.Decoder. No authentication or special privileges are required.buildDtable leaves the decode table unwritten (inheriting stale state), nextFast derives an out-of-range state index, and the Go runtime panics with index out of range [33077] with length 32768, crashing the application process or goroutine.panic: runtime error: index out of range with a large index (e.g., [33077]) and length 32768 in application logs; stack traces referencing fse.(*decoder).nextFast, fse.(*Scratch).decompress, huff0.ReadTable, or zstd.(*Decoder).DecodeAll.0x28 0xb5 0x2f 0xfd to endpoints that accept compressed data, particularly from a single source IP or in rapid succession.Upgrade github.com/klauspost/compress to v1.20.2 or later, which rejects FSE normalized counts exceeding math.MaxInt16 in readNCount and enforces the RFC 8878 limit of tableLog ≤ 6 for Huffman-weight FSE tables in huff0.ReadTable (v1.20.2 Release, Fix Commit). If immediate patching is not possible, implement input validation and rate limiting on zstd decompression operations, and consider isolating zstd decompression to a separate process with resource limits to contain the impact of a crash. Downstream consumers including Docker, Kubernetes, Telegraf, Skopeo, and other packages that vendor this library should also be updated to versions that incorporate the fix (Red Hat Bugzilla).
The vulnerability was reported to the klauspost/compress maintainer by researchers from Ava Labs (joshua-kim as reporter, Morris-be as finder, StephenButtolph as coordinator, and chriselbring-avalabs as analyst), and the advisory was published with AI assistance (Github Advisory). Red Hat triaged the issue as high severity and tracked it via Bugzilla, with over 200 engineers CC'd on the bug report, reflecting the broad impact across Red Hat's product portfolio (Red Hat Bugzilla). Multiple downstream projects including ProjectDiscovery tools (nuclei, naabu, dnsx, katana, etc.) and Pulumi Kubernetes issued dependency updates to incorporate the fix, indicating broad community awareness and rapid remediation activity.
Fix availability across major Linux distributions and their releases.
bookworm
golang-github-klauspost-compress
sid
golang-github-klauspost-compress: 1.20.3+ds1-1
trixie
golang-github-klauspost-compress
bionic (esm-apps)
golang-github-klauspost-compress
devel
golang-github-klauspost-compress
focal (esm-apps)
golang-github-klauspost-compress
jammy
golang-github-klauspost-compress
jammy (esm-apps)
golang-github-klauspost-compress
noble
golang-github-klauspost-compress
noble (esm-apps)
golang-github-klauspost-compress
resolute
golang-github-klauspost-compress
OpenShift
el9:openshift-logging/lokistack-gateway-rhel9-0:v0.1
RHEL 8
:appstream:grafana-0:9.2.10-38.el8_10.src
RHEL 9
:appstream:grafana-0:10.2.6-23.el9_8.10.src
RHEL 10
grafana-0:10.2.6-28.el10_2.11.src
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."