Uncontrolled Memory Allocation in libheif - #VU146731
Published: September 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled memory allocation in ExifTags::Parse in the TIFF decoder when parsing a crafted TIFF file with an EXIF tag length value that lacks an upper bound. A remote attacker can send a specially crafted TIFF file to cause a denial of service.
The malicious EXIF tag is parsed after the image decodes successfully, and multiple oversized tag lengths can accumulate memory consumption.