Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-29407 EUVD-2023-2307GHSA-j3p8-6mrq-6g7hGO-2023-1990

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

Published Aug 2, 2023 · Updated Feb 13, 2025 · Assigned by Go

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 products

VendorProductAffectedFixed
golang.org/x/image golang.org/x/image/tiff < 0.10.0 0.10.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-golang-x-image 0.11.0-1 —
Debian 13 golang-golang-x-image 0.11.0-1 —
Debian 12 golang-golang-x-image No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-golang-x-image No fix yet —
Ubuntu 26.04 LTS golang-golang-x-image No fix yet —
Ubuntu 25.10 golang-golang-x-image No fix yet —
Ubuntu 24.04 LTS golang-golang-x-image No fix yet —
Ubuntu 22.04 LTS golang-golang-x-image No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-golang-x-image No fix yet —
Ubuntu 18.04 LTS golang-golang-x-image No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go golang.org/x/image < 0.10.0 0.10.0 GHSA-j3p8-6mrq-6g7h

Advisories 2

References