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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2024-06-25T22:06:09.000Z
- Modified: 2026-09-10T03:50:15.096Z
- Also known as: GHSA-9phm-fm57-rhg8, GO-2024-2937
- Related: CGA-r464-398g-xw6x, CVE-2023-36308
- Weaknesses: CWE-125, CWE-248
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: Go

## Description

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

(As written by CVE List.)

## Affected

- golang.org/x/image/tiff: before 0.18.0
- golang image: before 0.18.0
- golang.org/x/image (Go): before 0.18.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://go.dev/cl/588115> (fix, web)
- <https://go.dev/issue/67624> (report, web)
- <https://pkg.go.dev/vuln/GO-2024-2937> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-24792> (advisory)
- <https://cs.opensource.google/go/x/image> (package)

## Sources

- CVE List: [CVE-2024-24792](https://www.cve.org/CVERecord?id=CVE-2024-24792), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-9phm-fm57-rhg8](https://github.com/advisories/GHSA-9phm-fm57-rhg8), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2937](https://pkg.go.dev/vuln/GO-2024-2937), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-24792](https://nvd.nist.gov/vuln/detail/CVE-2024-24792), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-24792 · Whole record: https://cve.day/CVE-2024-24792.json · Rebuilt by cve.day 2026-11-25T22:58:42.287Z
