Impact
The TIFF decoder in the Go image library does not impose a limit on the size of PackBits‑compressed data. A maliciously crafted TIFF image can force the decoder to expand a compact payload into a vastly larger in‑memory structure. This uncontrolled expansion can deplete memory, trigger crashes, or significantly degrade system performance, effectively denying service to legitimate users or applications that rely on image decoding.
Affected Systems
All deployments that use the golang.org/x/image package, specifically the tiff subpackage, are susceptible when they process externally supplied TIFF files. Any application or service incorporating this library without additional safeguards is at risk.
Risk and Exploitability
The vulnerability lacks a size limit for PackBits‑decoded data, allowing an attacker to provide a small‑looking TIFF file that expands to consume large amounts of memory during decompression. This can lead to memory exhaustion and application crashes or significant performance degradation. Based on the description, it is inferred that a remote attacker could exploit this by uploading or transmitting a crafted TIFF to a vulnerable process, as the decoder processes external image data without validation. While EPSS data is not available and the vulnerability is not listed in CISA KEV, the absence of bounds indicates a potentially high risk of resource exhaustion.
OpenCVE Enrichment