Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft paletted BMP with out-of-range palette index
-
DeliverySubmit file to target Go application
-
ExploitApplication passes BMP to golang.org/x/image/bmp decoder
-
ExecutionDecoder reads invalid palette index without bounds check
-
PersistGo runtime panic triggered
-
ImpactGoroutine or process crashes (DoS)
Vulnerability Assessment
| Exploitation Conditions | The target application must import and invoke the golang.org/x/image/bmp decoder on attacker-supplied input - meaning the application must accept BMP files from an untrusted source (e.g., a file upload endpoint, a URL-fetch-and-decode flow, or a message queue consuming external content). The BMP file must use an indexed color (paletted) mode, and at least one pixel value must reference an index beyond the palette's defined length. No authentication, special configuration, or non-default settings are required on the server side; the only prerequisite is that the application passes externally controlled BMP data to the vulnerable decoder. Exploitation is limited to applications using golang.org/x/image/bmp versions before 0.41.0; Go's standard library image/bmp (if it exists) is not implicated. Impact is bounded to availability (process/goroutine crash) - confidentiality and integrity are not at risk. |
| Impact | The CVSS 5.3 Medium score (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) accurately reflects the limited but remotely triggerable impact: confidentiality and integrity are unaffected, and availability impact is rated Low because the panic terminates only the decoding operation (or the goroutine/process handling it) rather than necessarily bringing down an entire service, depending on application architecture. SSVC signals Automatable:Yes, meaning an attacker can script bulk exploitation against exposed endpoints without manual effort, and Exploitation:None confirms no active exploitation observed at time of analysis. The vulnerability is not listed in the CISA KEV catalog, and no public proof-of-concept code has been identified. The metadata tag 'Information Disclosure' appears to be a mislabeling - the CVSS vector and description both indicate a pure availability (DoS) impact with no confidentiality or integrity loss; defenders should not treat this as a data-exposure risk. Real-world priority should be determined by whether the application processes BMP files from untrusted sources: internal tooling decoding only trusted images carries negligible risk, whereas a public API accepting arbitrary image uploads warrants prompt patching. |
| Exploit ScenarioDerived | An attacker uploads or submits a specially crafted paletted BMP file - one whose pixel data references a palette index exceeding the defined palette length - to a Go web service that uses golang.org/x/image/bmp to decode user-supplied images. The decoder accesses the invalid palette index without bounds checking, triggering a Go runtime panic that crashes the handling goroutine or, in simpler single-threaded applications, the entire process. By repeatedly submitting such files, the attacker can sustain a denial-of-service condition against the image-processing endpoint. No public proof-of-concept code has been identified, but the attack requires only a trivially crafted BMP file. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Panic-induced denial of service in the golang.org/x/image/bmp decoder allows remote unauthenticated attackers to crash any Go application that processes untrusted BMP files. When a paletted BMP containing an out-of-range palette index is decoded, the image package accesses invalid memory and triggers a Go runtime panic, terminating the affected goroutine or process. No public exploit exists at time of analysis, but the attack is automatable per SSVC and requires no privileges or user interaction (CVSS AV:N/AC:L/PR:N/UI:N), making any internet-exposed BMP processing endpoint an accessible target.
RemediationAI
Upgrade golang.org/x/image to version 0.41.0 or later, which contains the upstream fix (go.dev/cl/781500). Run 'go get golang.org/x/image@v0.41.0' and rebuild affected binaries, then redeploy. Confirm the fix is in place by checking 'go list -m golang.org/x/image' against the running binary's module graph. If an immediate upgrade is not possible, the primary compensating control is to reject BMP file uploads or processing requests at the application boundary before they reach the decoder - for example, by enforcing a strict MIME type allowlist and rejecting 'image/bmp' or files with a BMP magic header (0x42 0x4D). This eliminates the attack surface entirely at the cost of losing BMP support. Sandboxing image decoding in a separate process with restricted privileges (e.g., via seccomp or a subprocess with a panic-recovery wrapper) can limit blast radius if BMP support must be retained. No additional server-level firewall rules meaningfully mitigate this, as the vulnerability is triggered by file content rather than a specific port or protocol.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the BMP image decoder in the golang.org/x/image/bmp package (CPE: cpe:2.3:a:golang.org/x/image:golang.org/x/image/bmp:*:*:*:*:*:*:*:*), part of Go's extended imaging library maintained under the golang.org/x namespace. BMP files using indexed color modes contain a palette (a lookup table of colors) and per-pixel indices referencing entries in that palette. The vulnerability arises because the decoder fails to validate whether a pixel's palette index falls within the bounds of the defined palette before dereferencing it. In Go, an out-of-bounds slice or array access causes a runtime panic rather than undefined behavior as in C/C++, resulting in a hard crash of the decoding goroutine. No CWE was assigned in the NVD record; the root cause is consistent with CWE-125 (Out-of-bounds Read) or CWE-129 (Improper Validation of Array Index). The issue is tracked upstream at go.dev/issue/79576 and the fix was submitted via code review at go.dev/cl/781500.
Know when Golang Org X Image Bmp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Primary rating from Vendor (Go).
CVSS VectorVendor: Go
Lifecycle Timeline
3DescriptionCVE.org
Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Same technique Information Disclosure
View allVendor StatusVendor
SUSE
| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-33419
GHSA-m6fh-wvw4-4629
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB