ADVISORIES

Vulnerability

CVE-2026-63209

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.

4068 advisories report this vulnerability, across 9 ecosystems.

Advisories in Go

  • GHSA-259r-337f-4rfw

    Compress/s2: Integer Overflow or Wraparound and Out-of-bounds Write in compress

    High CVE-2026-63209 Go Updated 20 October 2026
  • GO-2026-5841

    OOB read in github.com/klauspost/compress/s2

    CVE-2026-63209 Go Updated 30 September 2026

References