CVE-2026-42500 Details
Description
Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.
A vulnerability exists in the Golang package 'golang.org/x/image/bmp' prior to version 0.41.0, where decoding a paletted BMP file with an out-of-range palette index causes a panic when accessing pixels in the invalid image. This issue has been addressed in version 0.41.0, which now correctly returns an error instead of causing a panic.
Users can update to Golang 'golang.org/x/image' version 0.41.0 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 29, 2026CISA-ADP
Assessed May 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/781500 | [email protected] | Source CodeVendor |
| https://go.dev/issue/79576 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://groups.google.com/g/golang-announce/c/uhYX90BlBvI | [email protected] | Mailing ListRemedyVendor |
| https://pkg.go.dev/vuln/GO-2026-5031 | [email protected] | AdvisoryVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| golang.org/x/image/bmp | < v0.41.0 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 29, 2026 | New CVE Received | [email protected] |
| May 29, 2026 | CVE Modified | CISA-ADP |
Volerion