Every CVE Search/ Get API key

CVE-2022-41727

Denial of service via crafted TIFF image in golang.org/x/image/tiff

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.31%Down 0.6 points since Mar 1, 2023
90%50%10%1%

What each source reports

NVD Score used 5.5

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.

Record
CVE-2022-41727
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-11-02
CVE List No score

Denial of service via crafted TIFF image in golang.org/x/image/tiff

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.

Record
CVE-2022-41727
Updated
2026-11-02
EUVDEUVD-2023-0776 0.0

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.

Record
EUVD-2023-0776
CVSS
0.0 NoneCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-qgc7-mgm3-q253 5.5

Uncontrolled Resource Consumption in golang.org/x/image

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.

Record
GHSA-qgc7-mgm3-q253
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-400, CWE-770
Updated
2026-11-02
OSVGHSA-qgc7-mgm3-q253 5.5

Uncontrolled Resource Consumption in golang.org/x/image

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.

Record
GHSA-qgc7-mgm3-q253
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-400, CWE-770
Updated
2026-11-02
OSVUBUNTU-CVE-2022-41727 5.5

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.

Record
UBUNTU-CVE-2022-41727
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV No score

Denial of service via crafted TIFF image in golang.org/x/image/tiff

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.

Record
CVE-2022-41727
Updated
2026-11-02
OSVDEBIAN-CVE-2022-41727 No score

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.

Record
DEBIAN-CVE-2022-41727
Updated
2026-11-03
OSVGO-2023-1572 No score

Denial of service via crafted TIFF image in golang.org/x/image/tiff

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.

Record
GO-2023-1572
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
golang.org/x/image
Go
before 0.5.0
0.5.0
golang-golang-x-image
Debian:12
before 0.5.0-1
0.5.0-1
golang-golang-x-image
Debian:13
before 0.5.0-1
0.5.0-1
golang-golang-x-image
Debian:14
before 0.5.0-1
0.5.0-1
golang-golang-x-image
Ubuntu:18.04:LTS
All versions, plus listed versions
0.0~git20170523.0.426cfd8-1
None known
golang-golang-x-image
Ubuntu:20.04:LTS
All versions, plus listed versions
0.0~git20190703.d6a02ce-10.0~git20200119.58c2397-1
None known
golang-golang-x-image
Ubuntu:22.04:LTS
All versions, plus listed versions
0.0~git20200119.58c2397-10.0~git20210628.a66eb64-10.0~git20211028.6944b10-1
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-41727 is a medium vulnerability (CVSS 5.5) in Golang Image, published February 16, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.31%, the 23rd percentile. Fixed in golang.org/x/image 0.5.0.

References

Show 8 moreShow less
MoveEnter Open