CVE-2026-42500

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

State
Published
Severity
5.3 Medium
Published
May 29, 2026
Updated
May 29, 2026
Reserved
Apr 28, 2026

Read the record on cve.org

Description

Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
golang.org/x/image/bmpgolang.org/x/image
  • before 0.41.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.