CVE-2024-24792golang.org/x/image/tiff
High 7.5 No auth needed
Follow: this CVE · golang.org/x/image · golang.org/x/image/tiff We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- No
- Published
- Jun 27, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Parsing a corrupt or malicious image with invalid color indices can cause a panic.
What to do
- Apply the vendor's security update for golang.org/x/image/tiff.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/image |
< 0.18.0 |
0.18.0 |
go get golang.org/x/image@v0.18.0 |
| Go | golang.org/x/image |
< 0.18.0 |
0.18.0 |
go get golang.org/x/image@v0.18.0 |
Per OSV / GitHub Advisories (GHSA-9phm-fm57-rhg8, GO-2024-2937). Check the version in your lockfile before upgrading.
Affected products
- golang.org/x/image · golang.org/x/image/tiff
- golang · image
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.