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

EcosystemPackageFixed inAdvisory
Debian:12golang-golang-x-imageno fix listedDEBIAN-CVE-2023-29408
Debian:13golang-golang-x-image0.11.0-1DEBIAN-CVE-2023-29408
Debian:14golang-golang-x-image0.11.0-1DEBIAN-CVE-2023-29408
Gogolang.org/x/image0.10.0GHSA-x92r-3vfx-4cv3
Gogolang.org/x/image0.10.0GO-2023-1989
Ubuntu:22.04:LTSgolang-golang-x-imageno fix listedUBUNTU-CVE-2023-29408
Ubuntu:24.04:LTSgolang-golang-x-imageno fix listedUBUNTU-CVE-2023-29408
Ubuntu:25.10golang-golang-x-imageno fix listedUBUNTU-CVE-2023-29408
Ubuntu:26.04:LTSgolang-golang-x-imageno fix listedUBUNTU-CVE-2023-29408
Ubuntu:26.10golang-golang-x-imageno fix listedUBUNTU-CVE-2023-29408

Affected products (as reported)

VendorProductVersions
golang.org/x/image golang.org/x/image/tiff 0 – before 0.10.0

References