GO-2023-1989

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

At a glance

Published
Updated
CVE
CVE-2023-29408
Aliases
GHSA-x92r-3vfx-4cv3

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

PackageVersions
Go · golang.org/x/imageintroduced 0, fixed 0.10.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database