UNKNOWN Go
Panic when reading out of bound palette index in golang.org/x/image/bmp
GO-2026-5031 · CVE-2026-42500
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes