blob: ac262e0f0e265ec4b92ed2b46a0d2da1ebcc7fa5 [file] [edit]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2026-42500"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Panic when reading out of bound palette index in golang.org/x/image/bmp",
"descriptions": [
{
"lang": "en",
"value": "Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image."
}
],
"affected": [
{
"vendor": "golang.org/x/image",
"product": "golang.org/x/image/bmp",
"collectionURL": "https://pkg.go.dev",
"packageName": "golang.org/x/image/bmp",
"versions": [
{
"version": "0",
"lessThan": "0.41.0",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "decodePaletted"
},
{
"name": "Decode"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-129: Improper Validation of Array Index"
}
]
}
],
"references": [
{
"url": "https://go.dev/issue/79576"
},
{
"url": "https://groups.google.com/g/golang-announce/c/uhYX90BlBvI"
},
{
"url": "https://go.dev/cl/781500"
},
{
"url": "https://pkg.go.dev/vuln/GO-2026-5031"
}
]
}
}
}