title: Excessive CPU consumption when decoding 0-height images in golang.org/x/image/tiff
description: 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.
problem types: CWE-834: Excessive Iteration
affected:
{
vendor: golang.org/x/image
product: golang.org/x/image/tiff
collectionURL: https://pkg.go.dev
packageName: golang.org/x/image/tiff
versions:
version: 0, lessThan: 0.10.0, status: affected, versionType: semver
programRoutines:
name: newDecoder
name: Decode
name: DecodeConfig
defaultStatus: unaffected
}