7.5High

CVE-2026-46599Excessive resource consumption in PackBits decompression in golang.org/x/image/tiff

golang.org/x/image golang.org/x/image/tiff Published: (5 months ago)

Description

The TIFF decoder does not place a limit on the size of PackBits-compressed 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.

Weakness (CWE): CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
golang.org/x/image golang.org/x/image/tiff < 0.41.0

References and patches