5.3Medium

CVE-2026-42500Panic when reading out of bound palette index in golang.org/x/image/bmp

golang.org/x/image golang.org/x/image/bmp Published: (5 months ago)

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

VendorProductVersions
golang.org/x/image golang.org/x/image/bmp < 0.41.0

References and patches