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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-golang-x-image | no fix listed | DEBIAN-CVE-2024-24792 |
| Debian:13 | golang-golang-x-image | 0.18.0-1 | DEBIAN-CVE-2024-24792 |
| Debian:14 | golang-golang-x-image | 0.18.0-1 | DEBIAN-CVE-2024-24792 |
| Go | golang.org/x/image | 0.18.0 | GHSA-9phm-fm57-rhg8 |
| Go | golang.org/x/image | 0.18.0 | GO-2024-2937 |
| Ubuntu:22.04:LTS | golang-golang-x-image | no fix listed | UBUNTU-CVE-2024-24792 |
| Ubuntu:24.04:LTS | golang-golang-x-image | no fix listed | UBUNTU-CVE-2024-24792 |
| Ubuntu:25.10 | golang-golang-x-image | no fix listed | UBUNTU-CVE-2024-24792 |
| Ubuntu:26.04:LTS | golang-golang-x-image | no fix listed | UBUNTU-CVE-2024-24792 |
| Ubuntu:26.10 | golang-golang-x-image | no fix listed | UBUNTU-CVE-2024-24792 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| golang.org/x/image | golang.org/x/image/tiff | 0 – before 0.18.0 |