What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: golang.org/x/image/tiff 0.41.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-46599 or the next vulnerability affects your stack