CVE-2026-42500golang.org/x/image/bmp
Medium 5.3 No auth needed
Follow: this CVE · golang.org/x/image · golang.org/x/image/bmp We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- May 29, 2026
- Updated
- Jul 22, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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
- Apply the vendor's security update for golang.org/x/image/bmp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/image |
< 0.41.0 |
0.41.0 |
go get golang.org/x/image@v0.41.0 |
Per OSV / GitHub Advisories (GO-2026-5031). Check the version in your lockfile before upgrading.
Affected products
- golang.org/x/image · golang.org/x/image/bmp
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:66561 · Nov 23, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:62391 · Nov 23, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for rclone · SUSE · openSUSE-SU-2026:21436-1 · Jul 22, 2026 Critical
- rclone-1.74.2-1.1 on GA media · SUSE · openSUSE-SU-2026:10856-1 · May 24, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.