Every CVE Search/ Get API key

CVE-2023-29407

Excessive CPU consumption when decoding 0-height images in golang.org/x/image/tiff

6.5 MediumFix available

A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.87%Up 0.8 points since Aug 3, 2023
90%50%10%1%

What each source reports

NVD Score used 6.5

A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

Record
CVE-2023-29407
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-834
Updated
2026-11-02
CVE List No score

Excessive CPU consumption when decoding 0-height images in golang.org/x/image/tiff

A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

Record
CVE-2023-29407
Updated
2026-11-02
EUVDEUVD-2023-2307 0.0

A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

Record
EUVD-2023-2307
CVSS
0.0 NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-j3p8-6mrq-6g7h 6.5

Golang TIFF decoder vulnerable to excessive CPU consumption

A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

Record
GHSA-j3p8-6mrq-6g7h
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-834
Updated
2026-11-02
OSVDEBIAN-CVE-2023-29407 6.5

A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

Record
DEBIAN-CVE-2023-29407
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-j3p8-6mrq-6g7h 6.5

Golang TIFF decoder vulnerable to excessive CPU consumption

A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

Record
GHSA-j3p8-6mrq-6g7h
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-834
Updated
2026-11-02
OSVUBUNTU-CVE-2023-29407 6.5

A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

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

Excessive CPU consumption when decoding 0-height images in golang.org/x/image/tiff

A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

Record
CVE-2023-29407
Updated
2026-11-02
OSVGO-2023-1990 No score

Excessive CPU consumption when decoding 0-height images in golang.org/x/image/tiff

A maliciously-crafted image can cause excessive CPU consumption in decoding.

A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

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

Affected products

Affected packages

Affected packages
PackageAffectedFixed
golang.org/x/image
Go
before 0.10.0
0.10.0
golang-golang-x-image
Debian:12
All versions, plus listed versions
0.11.0-10.12.0-10.13.0-10.14.0-10.15.0-1
Show 13 moreShow less
0.16.0-10.18.0-10.32.0-10.35.0-10.38.0-10.39.0-10.42.0-10.45.0-10.47.0-10.5.0-10.7.0-10.8.0-10.9.0-1
None known
golang-golang-x-image
Debian:13
before 0.11.0-1
0.11.0-1
golang-golang-x-image
Debian:14
before 0.11.0-1
0.11.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
golang-golang-x-image
Ubuntu:24.04:LTS
All versions, plus listed versions
0.7.0-10.13.0-10.14.0-10.15.0-1
None known
golang-golang-x-image
Ubuntu:25.10
All versions, plus listed versions
0.18.0-1
None known
golang-golang-x-image
Ubuntu:26.10
All versions, plus listed versions
0.35.0-10.39.0-10.42.0-10.45.0-1
None known
golang-golang-x-image
Ubuntu:26.04:LTS
All versions, plus listed versions
0.18.0-10.32.0-10.35.0-1
None known

History

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

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

In short

CVE-2023-29407 is a medium vulnerability (CVSS 6.5) in Golang Image, published August 2, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.87%, the 59th percentile. Fixed in golang.org/x/image 0.10.0.

References

Show 8 moreShow less
MoveEnter Open