CVE-2022-41727Golang Image
Medium 5.5
Follow: this CVE · Golang · Golang Image We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 21
- Auth required
- Yes
- Published
- Feb 28, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
An attacker can craft a malformed TIFF image which will consume a significant amount of memory when passed to DecodeConfig. This could lead to a denial of service.
What to do
- Apply the vendor's security update for Image.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/image |
< 0.5.0 |
0.5.0 |
go get golang.org/x/image@v0.5.0 |
| Go | golang.org/x/image |
< 0.5.0 |
0.5.0 |
go get golang.org/x/image@v0.5.0 |
Per OSV / GitHub Advisories (GHSA-qgc7-mgm3-q253, GO-2023-1572). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | image | < 0.5.0 |
| golang | tiff | all |
| fedoraproject | fedora | 37 |
| fedoraproject | fedora | 38 |
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch
- go.dev Issue Tracking
- groups.google.com Mailing List Vendor Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- pkg.go.dev Vendor Advisory