Skip to content
OpenAdvisories
High · 7.5 CVE-2024-24792 EUVD-2024-2009GHSA-9phm-fm57-rhg8GO-2024-2937

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

Published Jun 27, 2024 · Updated Aug 1, 2024 · Assigned by Go

Description

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

Affected products

VendorProductAffectedFixed
golang.org/x/image golang.org/x/image/tiff < 0.18.0 0.18.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-golang-x-image 0.18.0-1 —
Debian 13 golang-golang-x-image 0.18.0-1 —
Debian 12 golang-golang-x-image No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-golang-x-image No fix yet —
Ubuntu 26.04 LTS golang-golang-x-image No fix yet —
Ubuntu 25.10 golang-golang-x-image No fix yet —
Ubuntu 24.04 LTS golang-golang-x-image No fix yet —
Ubuntu 22.04 LTS golang-golang-x-image No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-golang-x-image No fix yet —
Ubuntu 18.04 LTS golang-golang-x-image No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP6 keybase-client 6.2.8-bp156.2.6.1 openSUSE-SU-2024:0224-2
SUSE Package Hub 15 SP5 keybase-client 6.2.8-bp156.2.6.1 openSUSE-SU-2024:0224-2
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gomuks 0.3.0-3.1 openSUSE-SU-2024:14099-1
openSUSE Tumbleweed keybase-client 6.3.1-2.1 openSUSE-SU-2024:14108-1
openSUSE Leap 15.6 keybase-client 6.2.8-bp156.2.6.1 openSUSE-SU-2024:0224-2
openSUSE Leap 15.5 keybase-client 6.2.8-bp156.2.6.1 openSUSE-SU-2024:0224-2

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling hugo 0.128.0-r1 —
Wolfi rolling hugo-extended 0.129.0-r0 —
Wolfi rolling ollama +1 0.4.0-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go golang.org/x/image < 0.18.0 0.18.0 GHSA-9phm-fm57-rhg8

Advisories 3

References