Go Vulnerability Database
GO-2023-1990
Excessive CPU consumption when decoding 0-height images in golang.org/x/image/tiff
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/image | All versions before 0.10.0 (fixed in 0.10.0) |