{"schema_version":"1.3.1","id":"GO-2026-5841","modified":"2026-07-27T16:16:22Z","published":"2026-07-27T16:16:22Z","aliases":["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.","affected":[{"package":{"name":"github.com/klauspost/compress","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.16.0"},{"fixed":"1.18.7"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/klauspost/compress/s2","symbols":["NewDict"]}]}}],"references":[{"type":"ADVISORY","url":"https://github.com/klauspost/compress/security/advisories/GHSA-259r-337f-4rfw"},{"type":"FIX","url":"https://github.com/klauspost/compress/commit/8668e357e776d5152ed62f33c17f21b8690664fa"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-5841","review_status":"REVIEWED"}}