ADVISORIES

Go Vulnerability Database

GO-2023-1989

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

Details

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

EcosystemPackageAffected versions
Gogolang.org/x/image
All versions before 0.10.0 (fixed in 0.10.0)

References