Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/klauspost/compress
  4. ›
  5. CVE-2026-63209

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

October 20, 2026

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.

References

  • github.com/advisories/GHSA-259r-337f-4rfw
  • github.com/klauspost/compress/commit/539243b8823ee8f03e49969823d57c348c917536
  • github.com/klauspost/compress/commit/8668e357e776d5152ed62f33c17f21b8690664fa
  • github.com/klauspost/compress/pull/1163
  • github.com/klauspost/compress/releases/tag/v1.18.7
  • github.com/klauspost/compress/security/advisories/GHSA-259r-337f-4rfw
  • nvd.nist.gov/vuln/detail/CVE-2026-63209

Code Behaviors & Features

Detect and mitigate CVE-2026-63209 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.18.7

Fixed versions

  • 1.18.7

Solution

Upgrade to version 1.18.7 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound
  • CWE-787: Out-of-bounds Write

Source file

go/github.com/klauspost/compress/CVE-2026-63209.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:34 +0000.