Skip to main content
← All vulnerabilities
CVE-2026-63209GHSA-259R-337F-4RFWGO-2026-5841

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.18.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • klauspost compress

    fixed in 1.18.7

  • github.com/klauspost/compressGo

    fixed in 1.18.7

  • github.com/klauspost/compressGo

    From 1.16.0 · fixed in 1.18.7

References 3

GitHub · klauspost/compress