Live threats

All CVEs / Golang

CVE-2022-41727Golang Image

Medium 5.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Image.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
golangimage< 0.5.0
golangtiffall
fedoraprojectfedora37
fedoraprojectfedora38

Official sources

References

Links published by the sources. Open them with care.