Vulnerability · Published Jun 27, 2024 · Assigned by Go

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

High 7.5

In plain English

A high-severity security flaw in golang.org/x/image/tiff from golang.org/x/image. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 45.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-golang-x-imageno fix listedDEBIAN-CVE-2024-24792
Debian:13golang-golang-x-image0.18.0-1DEBIAN-CVE-2024-24792
Debian:14golang-golang-x-image0.18.0-1DEBIAN-CVE-2024-24792
Gogolang.org/x/image0.18.0GHSA-9phm-fm57-rhg8
Gogolang.org/x/image0.18.0GO-2024-2937
Ubuntu:22.04:LTSgolang-golang-x-imageno fix listedUBUNTU-CVE-2024-24792
Ubuntu:24.04:LTSgolang-golang-x-imageno fix listedUBUNTU-CVE-2024-24792
Ubuntu:25.10golang-golang-x-imageno fix listedUBUNTU-CVE-2024-24792
Ubuntu:26.04:LTSgolang-golang-x-imageno fix listedUBUNTU-CVE-2024-24792
Ubuntu:26.10golang-golang-x-imageno fix listedUBUNTU-CVE-2024-24792

Affected products (as reported)

VendorProductVersions
golang.org/x/image golang.org/x/image/tiff 0 – before 0.18.0

References