Go Vulnerability Database
GO-2026-5062
Lack of limit on tile sizes in x/image/tiff in golang.org/x/image
Details
The TIFF decoder does not set a limit on the size of tiles in tiled images, permitting a malicious or corrupt image containing a very large tile to cause unbounded memory consumption.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/image | All versions before 0.43.0 (fixed in 0.43.0) |