ADVISORIES

Go Vulnerability Database

GO-2026-4815

OOM from malicious IFD offset in golang.org/x/image/tiff

Details

A maliciously crafted TIFF file can cause image decoding to attempt to allocate up 4GiB of memory, causing either excessive resource consumption or an out-of-memory error.

Affected packages

EcosystemPackageAffected versions
Gogolang.org/x/image
All versions before 0.38.0 (fixed in 0.38.0)

References