CVE-2026-63209
HIGH 7.5CVSS 3.1Compress/s2: 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.
- Published
- 29 Sep 2026
- Last modified
- 20 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-190CWE-787
- Also known as
- GHSA-259r-337f-4rfwGO-2026-5841
- Sources
- NVDJSONOSV GHSA-259r-337f-4rfwJSONOSV GO-2026-5841JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/klauspost/compress | < 1.18.7 | 1.18.7 |
| OSV | Go | github.com/klauspost/compress | >= 1.16.0, < 1.18.7 | 1.18.7 |
References
- https://github.com/klauspost/compress/commit/539243b8823ee8f03e49969823d57c348c917536 · WEB
- https://github.com/klauspost/compress/releases/tag/v1.18.7 · WEB
- https://github.com/klauspost/compress/security/advisories/GHSA-259r-337f-4rfw · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-63209 · ADVISORY
- https://github.com/klauspost/compress/pull/1163 · WEB
- https://github.com/klauspost/compress/commit/8668e357e776d5152ed62f33c17f21b8690664fa · WEB, FIX
- https://github.com/klauspost/compress · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 29 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Oct 2026)