blob: 93b3c83f75908d6b025940ad35d6b5e4539348cf [file]
{
"schema_version": "1.3.1",
"id": "GO-2026-5841",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"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"
}
}