p PatchFirst

PatchFirst · Latest vulnerabilities

golang-github-klauspost-compress vulnerabilities

Vulnerability published for golang-github-klauspost-compress in the last 30 days: 1. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 2

  1. CVE-2026-116591

    High · CVSS 8.7EPSS 0.33%Public exploitNo fix published

    compress zstd: Panic on two-block frames

    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.

    Published Updated
  2. CVE-2026-63209

    High · CVSS 7.5EPSS 0.57%Fix available

    Integer Overflow or Wraparound and Out-of-bounds Write in compress

    compress provides various compression algorithms. Prior to version 1.18.7, a signed integer overflow vulnerability in s2.NewDict() allows an attacker to bypass repeat index validation by supplying a dictionary with a uvarint-encoded repeat value exceeding MaxInt64. When Dict.Encode() is subsequently called, the overflowed negative repeat value causes an out-of-bounds memory access via unsafe.Pointer arithmetic, crashing the process with SIGSEGV. This issue has been patched in version 1.18.7.

    • Update to 1.19.0+ds1-1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →