GO-2026-5032

Excessive resource consumption in PackBits decompression in golang.org/x/image/tiff

At a glance

Published
Updated
CVE
CVE-2026-46599
Aliases
GHSA-q675-qj96-32m9

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 packages

PackageVersions
Go · golang.org/x/imageintroduced 0, fixed 0.41.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database