Advisory

GO-2026-5841

Also known as: CVE-2026-63209, GHSA-259r-337f-4rfw

Summary

OOB read in github.com/klauspost/compress/s2

Details

Providing a specially crafted dictionary to s2.NewDict and using it to encode data can make the encoder read out of bounds.

Severity

Not rated by the source.

Dates

Published
2026-07-27 16:16 UTC
Modified
2026-09-30 03:55 UTC

Affected packages and fixes

github.com/klauspost/compress

Go · All systems

Affected

  • introduced 1.16.0, fixed 1.18.7 (semver)

Fixed versions

1.18.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences