CVE-2026-42500Published May 29, 2026 · May 29Updated Jul 22
Panic when reading out of bound palette index in golang.org/x/image/bmp
golang.org/x/image/bmp
Medium5.3
golang.org/x/image/bmp
golang.org/x/image/bmp is vulnerable when it decodes a paletted BMP file with an out-of-range palette index. Accessing pixels in the invalid image then causes a panic. The input does not specify network access, authentication requirements, or user interaction.
Engineers using golang.org/x/image/bmp should check their applications; affected versions are not specified.