GO-2026-5841

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

At a glance

Published
Updated
CVE
CVE-2026-63209
Aliases
GHSA-259r-337f-4rfw

Description

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

Affected packages

PackageVersions
Go · github.com/klauspost/compressintroduced 1.16.0, fixed 1.18.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database