CVE-2024-24792: Golang Image

High severity, CVSS 7.5. EPSS: 1.2% probability of exploitation activity in the next 30 days.

Parsing a corrupt or malicious image with invalid color indices can cause a panic.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Golang Image, before 0.18.0: fixed in 0.18.0
  • Golang.org/x/image Golang.org/x/image/tiff, before 0.18.0: fixed in 0.18.0

Affected products

Affected packages

Published 2024-06-27. Last modified 2026-06-17.