CVE-2026-116591: 
cAdvisor Analyse et atténuation de la vulnérabilité

Aperçu

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

Détails techniques

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

Exploitabilité

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

Étapes d’exploitation

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

Indicateurs de compromis

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

Atténuation et solutions de contournement

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

Réactions de la communauté

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.

Ressources supplémentaires

État de correction de la distribution Linux

Corrigez la disponibilité entre les grandes distributions Linux et leurs versions.

Debian

Fixé

bookworm

golang-github-klauspost-compress

Affecté

sid

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

Fixé

trixie

golang-github-klauspost-compress

Affecté

Ubuntu

Inconnu

bionic (esm-apps)

golang-github-klauspost-compress

Inconnu

devel

golang-github-klauspost-compress

Inconnu

focal (esm-apps)

golang-github-klauspost-compress

Inconnu

jammy

golang-github-klauspost-compress

Inconnu

jammy (esm-apps)

golang-github-klauspost-compress

Inconnu

noble

golang-github-klauspost-compress

Inconnu

noble (esm-apps)

golang-github-klauspost-compress

Inconnu

resolute

golang-github-klauspost-compress

Inconnu

RHEL / CentOS

Fixé

OpenShift

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

Fixé

RHEL 8

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

Fixé

RHEL 9

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

Fixé

RHEL 10

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

Fixé

Alpine

Fixé

edge

docker: 29.9.3-r0

Fixé

Source: Ce rapport a été généré à l’aide de l’IA

Connexe cAdvisor Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-116591HIGH8.7
  • cAdvisor logocAdvisor
  • dapr-1.18
NonOuiOct 26, 2026
CVE-2026-97032HIGH7.5
  • Go logoGo
  • gitlab-kas-19.2
NonOuiOct 08, 2026
CVE-2026-97031HIGH7.5
  • Go logoGo
  • terraform-fips-1.13
NonOuiOct 08, 2026
CVE-2026-85747MEDIUM6.8
  • cAdvisor logocAdvisor
  • envoy-gateway-1.8
NonOuiOct 13, 2026
CVE-2026-128085MEDIUM5.3
  • cAdvisor logocAdvisor
  • crossplane-provider-aws-datapipeline
NonOuiNov 13, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités