Golang Paletted BMP Decoding Panic Vulnerability

Vulnerability

A vulnerability exists in the Golang package 'golang.org/x/image/bmp' prior to version 0.41.0, where decoding a paletted BMP file with an out-of-range palette index causes a panic when accessing pixels in the invalid image. This issue has been addressed in version 0.41.0, which now correctly returns an error instead of causing a panic.

Impact

The vulnerability leads to a panic, causing a runtime error that interrupts the program's execution.

Remediation

Users can update to Golang 'golang.org/x/image' version 0.41.0 or later to address this vulnerability.

Added: May 29, 2026, 8:19 PM
Updated: May 29, 2026, 8:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.1
remediation
0.0
relevance
9.6
threat
3.2
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.