Integer Overflow or Wraparound Affecting github.com/klauspost/compress/huff0 package, versions <1.20.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMKLAUSPOSTCOMPRESSHUFF0-21755460
  • published27 Oct 2026
  • disclosed27 Oct 2026
  • creditUnknown

Introduced: 27 Oct 2026

NewCVE-2026-116591  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade github.com/klauspost/compress/huff0 to version 1.20.2 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the DecodeAll and streaming decoder process. An attacker can cause an application to crash by providing specially crafted zstd input that triggers a panic when processing two-block frames.

CVSS Base Scores

version 4.0
version 3.1