Vulnerability · Published Aug 2, 2023 · Assigned by Go
CVE-2023-29407Excessive CPU consumption when decoding 0-height images in golang.org/x/image/tiff
Medium 6.5
In plain English
A medium-severity security flaw in golang.org/x/image/tiff from golang.org/x/image. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.9%top 40.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-golang-x-image | no fix listed | DEBIAN-CVE-2023-29407 |
| Debian:13 | golang-golang-x-image | 0.11.0-1 | DEBIAN-CVE-2023-29407 |
| Debian:14 | golang-golang-x-image | 0.11.0-1 | DEBIAN-CVE-2023-29407 |
| Go | golang.org/x/image | 0.10.0 | GHSA-j3p8-6mrq-6g7h |
| Go | golang.org/x/image | 0.10.0 | GO-2023-1990 |
| Ubuntu:22.04:LTS | golang-golang-x-image | no fix listed | UBUNTU-CVE-2023-29407 |
| Ubuntu:24.04:LTS | golang-golang-x-image | no fix listed | UBUNTU-CVE-2023-29407 |
| Ubuntu:25.10 | golang-golang-x-image | no fix listed | UBUNTU-CVE-2023-29407 |
| Ubuntu:26.04:LTS | golang-golang-x-image | no fix listed | UBUNTU-CVE-2023-29407 |
| Ubuntu:26.10 | golang-golang-x-image | no fix listed | UBUNTU-CVE-2023-29407 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| golang.org/x/image | golang.org/x/image/tiff | 0 – before 0.10.0 |
References
- https://go.dev/issue/61581
- https://go.dev/cl/514897
- https://pkg.go.dev/vuln/GO-2023-1990
- https://security.netapp.com/advisory/ntap-20230831-0009/
- 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/