CVEfocus › CVE database › CVE-2026-42500

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

CVSS 5.3 MediumEPSS 0.5% (higher than 38% of CVEs)Published 2026-05-29Updated 2026-05-29Assigner: Go

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

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
5Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-golang-x-imageFix pendingUBUNTU-CVE-2026-42500
Ubuntu 26.04golang-golang-x-imageUnder investigationUBUNTU-CVE-2026-42500
Ubuntu 25.10golang-golang-x-imageWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-42500
Ubuntu 24.04golang-golang-x-imageUnder investigationUBUNTU-CVE-2026-42500
Ubuntu 22.04golang-golang-x-imageUnder investigationUBUNTU-CVE-2026-42500
Ubuntu 20.04golang-golang-x-imageFix pendingUBUNTU-CVE-2026-42500
Ubuntu 18.04golang-golang-x-imageFix pendingUBUNTU-CVE-2026-42500
Debian 14golang-golang-x-imageFixed0.42.0-1DEBIAN-CVE-2026-42500
Debian 13golang-golang-x-imageFix pendingDEBIAN-CVE-2026-42500
Debian 12golang-golang-x-imageFix pendingDEBIAN-CVE-2026-42500
Go librarygolang.org/x/imageFixed0.41.0GO-2026-5031

What the vendor says

As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.