cve.bz

CVE-2026-116591 klauspost compress: Year 2038 problem, Y2K38, Y2038, Epochalypse

8.7 highEPSS 0.3%Fix available

High (8.7) in klauspost compress. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/klauspost/compress/zstd 1.20.2.

On this page
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.

Severity

CVSS 4.0

8.7 high
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
EPSS
0.3% (unchanged from 0.3% a week ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • github.com/klauspost/compress/zstd (Go): fixed in 1.20.2
  • github.com/klauspost/compress (Go): fixed in 1.20.2
  • Debian, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-116591 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-116591?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-116591?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-116591 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
klauspost compress< 1.20.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fpmh-frq8-7rj8Gogithub.com/klauspost/compress/zstd<1.20.21.20.2
GO-2026-6865Gogithub.com/klauspost/compress<1.20.21.20.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13golang-github-klauspost-compressno fix listedDEBIAN-CVE-2026-116591
Debian14golang-github-klauspost-compress1.20.3+ds1-1DEBIAN-CVE-2026-116591
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 moregolang-github-klauspost-compressno fix listedUBUNTU-CVE-2026-116591
Red Hatenterprise_linux:8::appstreamgrafana, grafana-selinux, grafana-debuginfo and 1 more0:9.2.10-38.el8_10RHSA-2026:99030
Red Hatenterprise_linux:8::appstreamgrafana-pcp, grafana-pcp-debuginfo, grafana-pcp-debugsource0:5.1.1-20.el8_10RHSA-2026:99020
Red Hatenterprise_linux:9::appstreamgrafana-pcp, grafana-pcp-debuginfo, grafana-pcp-debugsource0:5.1.1-17.el9_9.4RHSA-2026:99172
Red Hatenterprise_linux:10.3grafana-pcp, grafana-pcp-debuginfo, grafana-pcp-debugsource0:6.1.0-2.el10_3.3RHSA-2026:98620
Red Hatenterprise_linux_eus:10.2grafana-pcp, grafana-pcp-debuginfo, grafana-pcp-debugsource0:5.3.0-8.el10_2.3RHSA-2026:99171
Red Hathummingbird:1buildah2:1.46.0-1.hum1RHSA-2026:88190
Red Hathummingbird:1caddy0:2.11.7-0.4.hum1RHSA-2026:91480
Red Hathummingbird:1cosign0:3.1.4-0.2.hum1RHSA-2026:91389
Red Hathummingbird:1distribution0:3.1.2-0.4.hum1RHSA-2026:91378
Red Hathummingbird:1git-lfs0:3.8.1-0.2.hum1RHSA-2026:91645
Red Hathummingbird:1grafana13.10:13.1.8-0.6.hum1RHSA-2026:93608
Red Hathummingbird:1grafana13.20:13.2.4-0.6.hum1RHSA-2026:94794
21 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 and 2 moregoogle-osconfig-agent20261105.03-150000.1.83.1SUSE-SU-2026:5246-1
SUSELinux Enterprise Module for Public Cloud 12google-osconfig-agent20261105.03-1.76.1SUSE-SU-2026:5245-1
SUSELinux Enterprise Module for Public Cloud 15 SP5, Linux Enterprise Module for Public Cloud 15 SP6, Linux Enterprise Module for Public Cloud 15 SP7aliyun-cli3.5.2-150400.9.13.1SUSE-SU-2026:5195-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0aliyun-cli3.5.2-160000.1.1SUSE-SU-2026:24652-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0govulncheck-vulndb0.0.20261105T234957-160000.1.1SUSE-SU-2026:24730-1
openSUSELeap 16.0aliyun-cli3.5.2-160000.1.1openSUSE-SU-2026:22241-1
openSUSELeap 16.0cadvisor0.60.6-bp160.4.1openSUSE-SU-2026:22218-1
openSUSELeap 16.0go-containerregistry0.22.1-bp160.1.1openSUSE-SU-2026:22227-1
openSUSELeap 16.0hauler2.1.2-bp160.2.1openSUSE-SU-2026:22228-1
openSUSELeap 16.1hauler2.1.2-bp161.1.1openSUSE-SU-2026:22317-1
openSUSETumbleweedaliyun-cli3.5.2-2.1openSUSE-SU-2026:12313-1
openSUSETumbleweedamazon-cloudwatch-agent1.300073.2-3.1openSUSE-SU-2026:12340-1
openSUSETumbleweedcadvisor0.60.6-5.1openSUSE-SU-2026:12317-1
openSUSETumbleweeddistribution3.1.2-4.1openSUSE-SU-2026:12318-1
openSUSETumbleweedgo-containerregistry0.22.1-3.1openSUSE-SU-2026:12323-1
openSUSETumbleweedgoogle-osconfig-agent20261103.02-1.1openSUSE-SU-2026:12430-1
openSUSETumbleweedgopass1.17.4-2.1openSUSE-SU-2026:12530-1
5 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8grafana, grafana-selinux9.2.10-38.el8_10ALSA-2026:99030
AlmaLinux8grafana-pcp5.1.1-20.el8_10ALSA-2026:99020
Rocky Linux8grafana, grafana-selinux, grafana-debuginfo and 1 more0:9.2.10-38.el8_10RLSA-2026:99030
Rocky Linux8grafana-pcp, grafana-pcp-debuginfo, grafana-pcp-debugsource0:5.1.1-20.el8_10RLSA-2026:99020
Rocky Linux9grafana, grafana-selinux, grafana-debuginfo and 1 more0:10.2.6-24.el9_9.8RLSA-2026:98541
Rocky Linux9grafana-pcp, grafana-pcp-debuginfo, grafana-pcp-debugsource0:5.1.1-17.el9_9.4RLSA-2026:99172
Rocky Linux10grafana, grafana-selinux, grafana-debuginfo and 1 more0:12.4.3-3.el10_3.6RLSA-2026:98639
Rocky Linux10grafana-pcp, grafana-pcp-debuginfo, grafana-pcp-debugsource0:6.1.0-2.el10_3.3RLSA-2026:98620
Alpinev3.24docker29.9.3-r0ALPINE-CVE-2026-116591
Azure Linux3azl-otel-collectorno fix listedAZL-111664
Azure Linux3azurelinux-image-toolsno fix listedAZL-111817
Azure Linux3buildahno fix listedAZL-111676
Azure Linux3cert-managerno fix listedAZL-111827
Azure Linux3containerd2no fix listedAZL-111866
Azure Linux3containerized-data-importerno fix listedAZL-111881
Azure Linux3corednsno fix listedAZL-111890
Azure Linux3cri-ono fix listedAZL-111700
Azure Linux3docker-buildxno fix listedAZL-111917
Azure Linux3docker-clino fix listedAZL-111926
Azure Linux3docker-composeno fix listedAZL-111941
Azure Linux3ghno fix listedAZL-111953
17 more for Azure Linux in the JSON.
Alpaquitastreamdocker29.9.3-r0BELL-CVE-2026-116591

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A flaw was found in the klauspost compress library's Zstandard (zstd) decompression implementation. An integer handling flaw in the FSE normalized count parsing logic allows a remote attacker to supply a specially crafted two-block compressed stream. When processed by vulnerable decode routines, the parser retains stale decode-table state and executes an out-of-bounds read, triggering an unhandled runtime panic. Applications decompressing untrusted inputs will terminate abruptly, causing a denial of service, while container boundaries and non-root execution isolate the impact from the underlying host.

Red Hat's mitigation

Reject or filter untrusted Zstandard-compressed payloads at ingress proxies, or restrict decompression endpoints to authenticated, trusted clients. No direct configuration-level workaround exists within the library itself.

--- CME Mitigation Guidance (2026-11-03) ---

Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.

The highest-value action is to enforce bounds on parsed count values and decode-table indices in klauspost/compress zstd decompression routines to prevent integer wraparound and out-of-bounds indexing: upgrade to klauspost/compress 1.20.2+ (or the corresponding fixed Red Hat builds), which reject counts exceeding math.MaxInt16 in readNCount, restrict Huffman-weight FSE tableLog values to 6 in huff0.ReadTable, and adjust count validation in validateNorm, closing crafted two-block zstd compressed stream. Until patched, this is a concern on applications decompressing untrusted Zstandard (zstd) input using klauspost/compress DecodeAll or streaming decoder, so reject or filter untrusted Zstandard-compressed payloads at ingress proxies, or restrict decompression endpoints to authenticated, trusted clients. These controls limit blast radius and contain exploitation, but they do not fix the underlying integer wraparound defect — apply the upstream patch to fully remediate.

Highest-impact CME: CME-1311 Input Size and Quantity Bounds Enforcement (high)

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10grafana-pcp-0:6.1.0-2.el10_3.3Fixed 2026-11-11RHSA-2026:98620
Red Hat Enterprise Linux 10grafana-0:12.4.3-3.el10_3.6Fixed 2026-11-11RHSA-2026:98639
Red Hat Enterprise Linux 10.2 Extended Update Supportgrafana-0:10.2.6-28.el10_2.11Fixed 2026-11-11RHSA-2026:99134
Red Hat Enterprise Linux 10.2 Extended Update Supportgrafana-pcp-0:5.3.0-8.el10_2.3Fixed 2026-11-11RHSA-2026:99171
Red Hat Enterprise Linux 8grafana-pcp-0:5.1.1-20.el8_10Fixed 2026-11-11RHSA-2026:99020
Red Hat Enterprise Linux 8grafana-0:9.2.10-38.el8_10Fixed 2026-11-11RHSA-2026:99030
Red Hat Enterprise Linux 9grafana-0:10.2.6-24.el9_9.8Fixed 2026-11-11RHSA-2026:98541
Red Hat Enterprise Linux 9grafana-pcp-0:5.1.1-17.el9_9.4Fixed 2026-11-11RHSA-2026:99172
Red Hat Enterprise Linux 9.8 Extended Update Supportgrafana-0:10.2.6-23.el9_8.10Fixed 2026-11-12RHSA-2026:99151
Red Hat Enterprise Linux 9.8 Extended Update Supportgrafana-pcp-0:5.1.1-17.el9_8.3Fixed 2026-11-12RHSA-2026:99152
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-agent-rhel9Will not fix
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Will not fix
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-rhel9Affected
AWS Load Balancer Operatoralbo/aws-load-balancer-controller-rhel8Affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel10Affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-controller-rhel9Affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel10Affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-git-cloner-rhel9Affected
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-image-bundler-rhel10Affected
518 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-116591.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON