CVE-2026-63209

NameCVE-2026-63209
Descriptioncompress 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-klauspost-compress (PTS)bookworm1.15.12+ds1-3fixed
trixie1.18.0+ds1-1vulnerable
forky, sid1.20.0+ds1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-klauspost-compresssourcebookworm(not affected)
golang-github-klauspost-compresssource(unstable)1.19.0+ds1-1

Notes

[trixie] - golang-github-klauspost-compress <no-dsa> (Minor issue)
[bookworm] - golang-github-klauspost-compress <not-affected> (Vulnerable code introduced in 1.16.0)
https://github.com/klauspost/compress/security/advisories/GHSA-259r-337f-4rfw
Introduced with: https://github.com/klauspost/compress/commit/5a210a09735ab4af7b0af4a0ec6d6dd09675526a (v1.16.0)
Fixed by: https://github.com/klauspost/compress/commit/bb2723d55de85353fd5a1817cbc382997a6a75aa (v1.19.0)
Fixed by: https://github.com/klauspost/compress/commit/8668e357e776d5152ed62f33c17f21b8690664fa (v1.18.7)

Search for package or bug name: Reporting problems