Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 69%

CVE-2026-42500: CWE-129: Improper Validation of Array Index in golang.org/x/image golang.org/x/image/bmp

0
Medium
VulnerabilityCVE-2026-42500cvecve-2026-42500cwe-129
Published: 05/29/2026 (05/29/2026, 18:36:28 UTC)
Source: CVE Database V5
Vendor/Project: golang.org/x/image
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

golang.org/x/image/bmp
pkg:golang/golang.org/x/image/bmp
Affected versions
*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/05/2026, 21:20:08 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses