Skip to main content
← All vulnerabilities
CVE-2026-42500GO-2026-5031

Panic when reading out of bound palette index in golang.org/x/image/bmp

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.41.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • golang.org/x/image/bmp

    fixed in 0.41.0

  • golang.org/x/imageGo

    fixed in 0.41.0

References 4

go.dev

groups.google.com

pkg.go.dev