CVE-2026-63209

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

Published Sep 29, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-259r-337f-4rfw Compress/s2: Integer Overflow or Wraparound and Out-of-bounds Write in compress
History
Type Values Removed Values Added
First Time appeared Klauspost
Klauspost compress
Vendors & Products Klauspost
Klauspost compress
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Integer Overflow or Wraparound and Out-of-bounds Write in compress
Weaknesses CWE-190
CWE-787
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 29, 2026, 4:32 PM
Reserved
Jul 15, 2026, 10:19 PM
Status
Deferred
Published
Sep 29, 2026, 3:17 PM
Modified
Sep 30, 2026, 7:57 PM
Severity
Important
Public date
Sep 29, 2026, 2:58 PM