CVE-2024-24792 json
Panic when parsing invalid palette-color images in golang.org/x/image
published 2024-06-25 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-2009 , GHSA-9phm-fm57-rhg8 , GO-2024-2937
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
Parsing a corrupt or malicious image with invalid color indices can cause a panic.
Patch / fix
- go golang.org/x/image 0.18.0
- golang.org/x/image golang.org/x/image/tiff 0.18.0
- golang image 0.18.0
- golang-golang-x-image Debian 14, Debian 13 0.18.0-1
debian advisories DEBIAN-CVE-2024-24792
- keybase-client Package Hub 15 SP6, Package Hub 15 SP5, openSUSE Leap 15.6 +1 more 6.2.8-bp156.2.6.1
- keybase-client openSUSE Tumbleweed 6.3.1-2.1
- gomuks openSUSE Tumbleweed 0.3.0-3.1
opensuse advisories openSUSE-SU-2024:0224-2openSUSE-SU-2024:14108-1openSUSE-SU-2024:14099-1
- go.dev/cl/588115 patch
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.73% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | golang.org/x/image | <0.18.0 |
0.18.0 |
Affected products
- golang.org/x/image golang.org/x/image/tiff
- golang image
Classification
- Weakness
-
- CWE-248 Uncaught Exception
References
-
go.dev
/cl/588115
web, patch
-
go.dev
/issue/67624
web, report
-
pkg.go.dev
/vuln/GO-2024-2937
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-24792
advisory
-
cs.opensource.google
/go/x/image
package
Sources
- CVE List CVE-2024-24792
- GitHub Advisory GHSA-9phm-fm57-rhg8
- NVD CVE-2024-24792
- OSV GO-2024-2937
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.