Advisory

GO-2024-2937

Also known as: CVE-2024-24792, GHSA-9phm-fm57-rhg8

Summary

Panic when parsing invalid palette-color images in golang.org/x/image

Details

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

Severity

Not rated by the source.

Dates

Published
2024-06-25 22:06 UTC
Modified
2026-02-04 03:54 UTC

Affected packages and fixes

golang.org/x/image

Go · All systems

Affected

  • introduced 0, fixed 0.18.0 (semver)

Fixed versions

0.18.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences