CVE-2026-42500: CWE-129: Improper Validation of Array Index in golang.org/x/image golang.org/x/image/bmp
CVE-2026-42500 is a medium severity vulnerability in the golang.org/x/image/bmp package where decoding a paletted BMP file with an out-of-range palette index causes a panic due to improper validation of the array index. This results in a denial of service condition by crashing the image decoding process. There is no indication of confidentiality, integrity, or privilege impact. No patch or official remediation has been confirmed yet.
AI Analysis
Technical Summary
The vulnerability CVE-2026-42500 in golang.org/x/image/bmp involves improper validation of array indices (CWE-129) when decoding paletted BMP files. Specifically, if a BMP file contains a palette index that is out-of-range, the decoder attempts to access an invalid pixel index, causing a runtime panic. This leads to an application crash or denial of service during image decoding. The CVSS score is 5.3 (medium severity) with network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to availability (denial of service). No patch or remediation level has been provided by the vendor at this time.
Potential Impact
The impact is limited to availability, causing a denial of service by crashing the image decoding process when processing specially crafted BMP files with invalid palette indices. There is no impact on confidentiality or integrity. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider validating or sanitizing BMP files before decoding to avoid triggering the panic. No official fix or workaround has been documented by the vendor.
CVE-2026-42500: CWE-129: Improper Validation of Array Index in golang.org/x/image golang.org/x/image/bmp
Description
CVE-2026-42500 is a medium severity vulnerability in the golang.org/x/image/bmp package where decoding a paletted BMP file with an out-of-range palette index causes a panic due to improper validation of the array index. This results in a denial of service condition by crashing the image decoding process. There is no indication of confidentiality, integrity, or privilege impact. No patch or official remediation has been confirmed yet.
CVSS v3.1
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-42500 in golang.org/x/image/bmp involves improper validation of array indices (CWE-129) when decoding paletted BMP files. Specifically, if a BMP file contains a palette index that is out-of-range, the decoder attempts to access an invalid pixel index, causing a runtime panic. This leads to an application crash or denial of service during image decoding. The CVSS score is 5.3 (medium severity) with network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to availability (denial of service). No patch or remediation level has been provided by the vendor at this time.
Potential Impact
The impact is limited to availability, causing a denial of service by crashing the image decoding process when processing specially crafted BMP files with invalid palette indices. There is no impact on confidentiality or integrity. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider validating or sanitizing BMP files before decoding to avoid triggering the panic. No official fix or workaround has been documented by the vendor.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-04-28T00:21:12.791Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a19e68ee29bf47b50037d5d
Added to database: 05/29/2026, 19:18:38 UTC
Last enriched: 06/05/2026, 21:20:08 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 70
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.