Vulnerability DatabaseCVE-2026-116591

CVE-2026-116591: 
cAdvisor vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Exploitation steps

  1. Identify target: Find a network-accessible application or service that uses 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).
  2. Craft malicious payload: Construct a ~27 KB two-block zstd frame where the second block's FSE Huffman-weight table encodes a normalized count of 32768 (which wraps to −32768 in int16). The first block must prime the shared fse.Scratch with valid state that the second block's malformed table will inherit.
  3. Deliver payload: Submit the crafted zstd-compressed bytes to any endpoint that passes them to zstd.DecodeAll() or a streaming zstd.Decoder. No authentication or special privileges are required.
  4. Trigger panic: The decoder processes the second block, 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.
  5. Repeat for sustained DoS: Because the panic is unrecoverable (especially in the streaming decoder's goroutine), repeated delivery of the payload keeps the target service unavailable (Github Advisory, Fix Commit).

Indicators of compromise

  • Logs: Go runtime panic messages containing 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.
  • Process: Unexpected application crashes or goroutine panics in Go services that handle zstd decompression; process restarts or watchdog-triggered restarts in containerized environments.
  • Network: Repeated delivery of ~27 KB binary payloads beginning with the zstd magic bytes 0x28 0xb5 0x2f 0xfd to endpoints that accept compressed data, particularly from a single source IP or in rapid succession.
  • File System: Crash dump files or core dumps generated by Go runtime panics in the application's working directory.

Mitigation and workarounds

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).

Community reactions

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.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

golang-github-klauspost-compress

Affected

sid

golang-github-klauspost-compress: 1.20.3+ds1-1

Fixed

trixie

golang-github-klauspost-compress

Affected

Ubuntu

Unknown

bionic (esm-apps)

golang-github-klauspost-compress

Unknown

devel

golang-github-klauspost-compress

Unknown

focal (esm-apps)

golang-github-klauspost-compress

Unknown

jammy

golang-github-klauspost-compress

Unknown

jammy (esm-apps)

golang-github-klauspost-compress

Unknown

noble

golang-github-klauspost-compress

Unknown

noble (esm-apps)

golang-github-klauspost-compress

Unknown

resolute

golang-github-klauspost-compress

Unknown

RHEL / CentOS

Fixed

OpenShift

el9:openshift-logging/lokistack-gateway-rhel9-0:v0.1

Fixed

RHEL 8

:appstream:grafana-0:9.2.10-38.el8_10.src

Fixed

RHEL 9

:appstream:grafana-0:10.2.6-23.el9_8.10.src

Fixed

RHEL 10

grafana-0:10.2.6-28.el10_2.11.src

Fixed

Alpine

Fixed

edge

docker: 29.9.3-r0

Fixed

Source: This report was generated using AI

Related cAdvisor vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-116591HIGH8.7
  • cAdvisor logocAdvisor
  • rancher-2.10
NoYesOct 26, 2026
CVE-2026-97032HIGH7.5
  • Go logoGo
  • gitlab-kas-19.2
NoYesOct 08, 2026
CVE-2026-97031HIGH7.5
  • Go logoGo
  • terraform-fips-1.13
NoYesOct 08, 2026
CVE-2026-85747MEDIUM6.8
  • cAdvisor logocAdvisor
  • envoy-gateway-1.8
NoYesOct 13, 2026
CVE-2026-97030MEDIUM6.1
  • Go logoGo
  • wait-for-port
NoYesOct 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management