Affected versions
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- * || =1.2.1-1 || =1.2.1-2 || =1.2.1-4 || =1.2.1-5
- Fixed version
- Not reported
- Affected versions
- * || =1.2.1-5 || =1.7.6-2 || =1.9.5-1 || =1.9.5-2
- Fixed version
- Not reported
- Affected versions
- * || =1.11.7-2
- Fixed version
- Not reported
- Affected versions
- * || =1.15.12+ds1-3 || =1.17.7+ds1-1
- Fixed version
- Not reported
- Affected versions
- * || =1.18.0+ds1-1 || =1.18.1+ds1-1
- Fixed version
- Not reported
- Affected versions
- * || =1.18.1+ds1-1 || =1.19.0+ds1-1 || =1.20.0+ds1-1
- Fixed version
- Not reported
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.
Links
- https://github.com/klauspost/compress/commit/539243b8823ee8f03e49969823d57c348c917536
- https://github.com/klauspost/compress/releases/tag/v1.18.7
- https://github.com/klauspost/compress/security/advisories/GHSA-259r-337f-4rfw
- https://ubuntu.com/security/CVE-2026-63209
- https://www.cve.org/CVERecord?id=CVE-2026-63209

