CVE-2026-42500

Medium

Description

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

SeverityMedium
CVSS5.3
Exploit probability—
ProductGolang.org/x/image
PublishedMay 29, 2026
First seenMay 29, 2026
Weakness typeCWE-129CWE-129

How to fix

Update
  • golang.org/x/image0.41.0 or later

Affected products

ProductAffected versionsFixed in
golang.org/x/imageGov < 0.41.00.41.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-42500 · Golang.org/x/image · Dark Radar