GO-2026-5841
Dashboard / Vulnerabilities / GO-2026-5841
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.
References: https://github.com/klauspost/compress/security/advisories/GHSA-259r-337f-4rfw, https://github.com/klauspost/compress/commit/8668e357e776d5152ed62f33c17f21b8690664fa
Affected packages
Package
Name: github.com/klauspost/compress
Purl: pkg:golang/github.com/klauspost/compress
Affected ranges
Type: SEMVER
Events:
Introduced- 1.16.0
Fixed -1.18.7
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
