Panic when reading out of bound palette index in golang.org/x/image/bmp
Priority LOW 30Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat.
Summary
Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00384 32nd percentileScored 2026-11-07
Fix Partial golang.org/x/image/bmp (golang.org/x/image): 0.41.0Red Hat: 2 advisoriesRed Hat: 1 fixed, 1 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Go standard library | golang.org/x/image/bmp | before 0.41.0 | 0.41.0 | Patch available | CNA |
- golang.org/x/image/bmp VendorGo standard library Affected before 0.41.0 Fixed in 0.41.0 Patch available CNA
Remediation
- Fix · CNA golang.org/x/image/bmp (golang.org/x/image) Fixed in 0.41.0
Red Hat 2 advisories
- RHSA-2026:66561 Released 2026-09-11 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images golang1.27-1.27.1-0.1.hum1@aarch64, golang1.27-1.27.1-0.1.hum1@src, golang1.27-1.27.1-0.1.hum1@x86_64 +10
- RHSA-2026:62391 Released 2026-09-02 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images golang1.26-1.26.8-0.1.hum1@aarch64, golang1.26-1.26.8-0.1.hum1@src, golang1.26-1.26.8-0.1.hum1@x86_64 +10
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Hardened Images | Affected | No fix planned: Will not fix |
| Red Hat Hardened Images | Fixed | RHSA-2026:62391, RHSA-2026:66561 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42500
- 2026-10-03 Alias added: GHSA-m6fh-wvw4-4629
References
More Go standard library vulnerabilities
- TI-2020-00578 Improper certificate validation in Microsoft Windows KEVCVSS 3.1HIGH 8.1
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2023-24278 HTTP/2 CONTINUATION flood in net/http CVSS 3.1HIGH 7.5
- TI-2018-05208 The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used… CVSS 3.1HIGH 8.8
- TI-2024-16309 Panic when parsing invalid palette-color images in golang.org/x/image CVSS 3.1HIGH 7.5
- TI-2022-20112 Request smuggling due to improper request handling in golang.org/x/net/http2/h2c CVSS 3.1HIGH 7.5
Sources
- CVE-2026-42500 · CVE Program
- CVE-2026-42500 · NVD
- FIRST EPSS
- GHSA-m6fh-wvw4-4629 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-42500 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences