{"id":"GO-2026-5031","summary":"Panic when reading out of bound palette index in golang.org/x/image/bmp","details":"Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.","aliases":["CVE-2026-42500"],"modified":"2026-05-29T18:45:12.249920464Z","published":"2026-05-29T18:17:10Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-5031","review_status":"REVIEWED"},"references":[{"type":"REPORT","url":"https://go.dev/issue/79576"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/uhYX90BlBvI"},{"type":"FIX","url":"https://go.dev/cl/781500"}],"affected":[{"package":{"name":"golang.org/x/image","ecosystem":"Go","purl":"pkg:golang/golang.org/x/image"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.41.0"}]}],"ecosystem_specific":{"imports":[{"path":"golang.org/x/image/bmp","symbols":["Decode","decodePaletted"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-5031.json"}}],"schema_version":"1.7.5"}