Vulnerability · Published Aug 2, 2023 · Assigned by Go
CVE-2023-29408Excessive resource consumption 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 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.9%top 39.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
The TIFF decoder does not place a limit on the size of compressed tile data. A maliciously-crafted image can exploit this to cause a small image (both in terms of pixel width/height, and encoded size) to make the decoder decode large amounts of compressed data, consuming excessive memory and CPU.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-golang-x-image | no fix listed | DEBIAN-CVE-2023-29408 |
| Debian:13 | golang-golang-x-image | 0.11.0-1 | DEBIAN-CVE-2023-29408 |
| Debian:14 | golang-golang-x-image | 0.11.0-1 | DEBIAN-CVE-2023-29408 |
| Go | golang.org/x/image | 0.10.0 | GHSA-x92r-3vfx-4cv3 |
| Go | golang.org/x/image | 0.10.0 | GO-2023-1989 |
| Ubuntu:22.04:LTS | golang-golang-x-image | no fix listed | UBUNTU-CVE-2023-29408 |
| Ubuntu:24.04:LTS | golang-golang-x-image | no fix listed | UBUNTU-CVE-2023-29408 |
| Ubuntu:25.10 | golang-golang-x-image | no fix listed | UBUNTU-CVE-2023-29408 |
| Ubuntu:26.04:LTS | golang-golang-x-image | no fix listed | UBUNTU-CVE-2023-29408 |
| Ubuntu:26.10 | golang-golang-x-image | no fix listed | UBUNTU-CVE-2023-29408 |
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/61582
- https://go.dev/cl/514897
- https://pkg.go.dev/vuln/GO-2023-1989
- 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/