Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-42500 EUVD-2026-33419GHSA-m6fh-wvw4-4629GO-2026-5031

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

Published May 29, 2026 · Updated May 29, 2026 · Assigned by Go

Description

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

Affected products

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-golang-x-image 0.42.0-1 —
Debian 13 golang-golang-x-image No fix yet —
Debian 12 golang-golang-x-image No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-golang-x-image No fix yet —
Ubuntu 26.04 LTS golang-golang-x-image No fix yet —
Ubuntu 25.10 golang-golang-x-image No fix yet —
Ubuntu 24.04 LTS golang-golang-x-image No fix yet —
Ubuntu 22.04 LTS golang-golang-x-image No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-golang-x-image No fix yet —
Ubuntu 18.04 LTS golang-golang-x-image No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 golang1.26 +5 1.26.8-0.1.hum1 RHSA-2026:62391
Red Hat Hardened Images 1 golang1.27 +5 1.27.1-0.1.hum1 RHSA-2026:66561
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rclone 1.74.2-1.1 openSUSE-SU-2026:10856-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 16.0 rclone 1.74.4-bp160.1.1 openSUSE-SU-2026:21436-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling seaweedfs 4.34-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go golang.org/x/image < 0.41.0 0.41.0 GO-2026-5031

Advisories 6

References