Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-29408 EUVD-2023-2378GHSA-x92r-3vfx-4cv3GO-2023-1989

Excessive resource consumption in golang.org/x/image/tiff

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

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 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 —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP6 keybase-client 6.2.8-bp156.2.3.1 openSUSE-SU-2024:0194-2
SUSE Package Hub 15 SP5 keybase-client 6.2.8-bp156.2.3.1 openSUSE-SU-2024:0194-2
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed keybase-client 6.2.2-2.1 openSUSE-SU-2024:13103-1
openSUSE Leap 15.6 keybase-client 6.2.8-bp156.2.3.1 openSUSE-SU-2024:0194-2
openSUSE Leap 15.5 keybase-client 6.2.8-bp156.2.3.1 openSUSE-SU-2024:0194-2

Affected packages

EcosystemPackageAffectedFixedRecord
Go golang.org/x/image < 0.10.0 0.10.0 GHSA-x92r-3vfx-4cv3

Advisories 5

References