Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-41727 EUVD-2023-0776GHSA-qgc7-mgm3-q253GO-2023-1572

Denial of service via crafted TIFF image in golang.org/x/image/tiff

Published Feb 28, 2023 · Updated Mar 7, 2025 · Assigned by Go

Description

An attacker can craft a malformed TIFF image which will consume a significant amount of memory when passed to DecodeConfig. This could lead to a denial of service.

Affected products

VendorProductAffectedFixed
golang.org/x/image golang.org/x/image/tiff < 0.5.0 0.5.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.5.0-1 —
Debian 13 golang-golang-x-image 0.5.0-1 —
Debian 12 golang-golang-x-image 0.5.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS golang-golang-x-image No fix yet —
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.5.0 0.5.0 GHSA-qgc7-mgm3-q253

Advisories 1

References