CVE-2022-41727
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.
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
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 Medium
CVSS: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 None
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
golang.org/x/imageGo |
before 0.5.0 | 0.5.0 |
golang-golang-x-imageDebian:12 |
before 0.5.0-1 | 0.5.0-1 |
golang-golang-x-imageDebian:13 |
before 0.5.0-1 | 0.5.0-1 |
golang-golang-x-imageDebian:14 |
before 0.5.0-1 | 0.5.0-1 |
golang-golang-x-imageUbuntu:18.04:LTS |
All versions, plus listed versions 0.0~git20170523.0.426cfd8-1 |
None known |
golang-golang-x-imageUbuntu:20.04:LTS |
All versions, plus listed versions 0.0~git20190703.d6a02ce-10.0~git20200119.58c2397-1 |
None known |
golang-golang-x-imageUbuntu:22.04:LTS |
All versions, plus listed versions 0.0~git20200119.58c2397-10.0~git20210628.a66eb64-10.0~git20211028.6944b10-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE 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
go.dev/issue/58003
go.dev/cl/468195
groups.google.com/g/golang-announce/c/ag-FiyjlD5o
pkg.go.dev/vuln/GO-2023-1572
lists.fedoraproject.org/archives/list/[email protected]/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6
lists.fedoraproject.org/archives/list/[email protected]/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2
Show 8 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/XZTEP6JYILRBNDTNWTEQ5D4QUUVQBESK
nvd.nist.gov/vuln/detail/CVE-2022-41727
github.com/advisories/GHSA-qgc7-mgm3-q253
pkg.go.dev
github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41727.json
security-tracker.debian.org/tracker/CVE-2022-41727
ubuntu.com/security/CVE-2022-41727
cve.org/CVERecord?id=CVE-2022-41727