title: Excessive resource consumption in golang.org/x/image/tiff
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.
problem types: CWE-770: Allocation of Resources Without Limits or Throttling
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
}