What’s Vulnerable › Vulnerabilities
CVE-2022-41727: Denial of service via crafted TIFF image in golang.org/x/image/tiff
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-28 · updated 2026-06-17
- Weakness: CWE-770
Description
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.
Affected products
- Fedoraproject Fedora: 37, 38
- golang.org/x/image/webp: before 0.5.0 — fixed in 0.5.0
- golang.org/x/image/tiff: all versions
How to fix
Upgrade to a fixed version: golang.org/x/image/webp 0.5.0. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/468195
- https://go.dev/issue/58003
- https://groups.google.com/g/golang-announce/c/ag-FiyjlD5o
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XZTEP6JYILRBNDTNWTEQ5D4QUUVQBESK/
- https://pkg.go.dev/vuln/GO-2023-1572
- https://go.dev/cl/468195
- https://go.dev/issue/58003
- https://groups.google.com/g/golang-announce/c/ag-FiyjlD5o
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2/
Get alerted when CVE-2022-41727 or the next vulnerability affects your stack