What’s Vulnerable › Vulnerabilities
CVE-2024-24792: Panic when parsing invalid palette-color images in golang.org/x/image
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-06-27 · updated 2026-06-17
Description
Parsing a corrupt or malicious image with invalid color indices can cause a panic.
Affected products
- golang.org/x/image/webp: before 0.18.0 — fixed in 0.18.0
How to fix
Upgrade to a fixed version: golang.org/x/image/webp 0.18.0. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/588115
- https://go.dev/issue/67624
- https://pkg.go.dev/vuln/GO-2024-2937
- https://go.dev/cl/588115
- https://go.dev/issue/67624
- https://pkg.go.dev/vuln/GO-2024-2937
Get alerted when CVE-2024-24792 or the next vulnerability affects your stack