5.3Medium
CVE-2026-42500Panic when reading out of bound palette index in golang.org/x/image/bmp
Description
Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.
Weakness (CWE):
CWE-129
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| golang.org/x/image | golang.org/x/image/bmp | < 0.41.0 |