CVE-2026-42500: Golang.org/x/image Golang.org/x/image/bmp
Medium severity, CVSS 5.3. EPSS: 0.5% probability of exploitation activity in the next 30 days.
Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Golang.org/x/image Golang.org/x/image/bmp, before 0.41.0: fixed in 0.41.0
Affected products
- Golang.org/x/image Golang.org/x/image/bmp: before 0.41.0 (fixed in 0.41.0)
Affected packages
- golang.org/x/image (Go)
Published 2026-05-29. Last modified 2026-07-22.