Struktur Libheif vulnerabilities, page 2
29 vulnerabilities
Known vulnerabilities in Struktur Libheif, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
MediumCVE-2026-32739Alpine Linuxalpine · libheif +4 morelibheif is Vulnerable to Infinite Loop DoS via stts Sample Duration Lookuplibheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and below, a crafted 800-byte HEIF sequence file causes an infinite loop in Box_stts::get_sample_duration(), consuming 100% CPU indefinitely with zero progress, leading to DoS. The loop has no iteration limit or timeout and is triggered during file open (parsing) - before any user interaction or image decoding. The process stays alive (no crash, no error logged), making it invisible to crash-based monitoring. This issue has been fixed in version 1.22.0.EPSS0.39%HighCVE-2026-32740Alpine Linuxalpine · libheif +4 morelibheif: Heap-Buffer-Overflow Write in Grid Tile Chroma Compositinglibheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 64 bytes of fully attacker-controlled data past the end of a chroma plane heap allocation by crafting a HEIF/AVIF file with a 1×4 grid of odd-height tiles. The overflow is triggered during normal image decoding with default build configuration. The written bytes are chroma (Cb/Cr) pixel values from the attacking tile, giving the attacker full control over the overflow content. This issue has been fixed in version 1.22.0.EPSS0.76%MediumCVE-2026-32738Alpine Linuxalpine · libheif +4 morelibheif has a Heap OOB Read/SEGV Crash via Zero samples_per_chunklibheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and below, a crafted 792-byte HEIF sequence file with samples_per_chunk=0 in the stsc box causes an unsigned integer underflow in the Chunk constructor (m_last_sample = 0 + 0 - 1 = UINT32_MAX), mapping all samples to an empty chunk and resulting in a denial of service. When any sample is accessed, the library reads from index 0 of an empty std::vector, causing a guaranteed SEGV (null-page read). The file parses successfully without producing an error; the crash occurs on the first frame access. This issue has been fixed in version 1.22.0.EPSS0.38%HighCVE-2023-0996debian · libheif +5 moredebian libheifThere is a vulnerability in the strided image data parsing code in the emscripten wrapper for libheif. An attacker could exploit this through a crafted image file to cause a buffer overflow in linear memory during a memcpy call.EPSS0.31%MediumCVE-2023-29659debian · libheif +9 moredebian libheifA Segmentation fault caused by a floating point exception exists in libheif 1.15.1 using crafted heif images via the heif::Fraction::round() function in box.cc, which causes a denial of service.EPSS0.93%HighCVE-2023-49462Alpine Linuxalpine · libheif +3 morealpine libheiflibheif v1.17.5 was discovered to contain a segmentation violation via the component /libheif/exif.cc.EPSS0.80%HighCVE-2023-49464debian · libheif +2 moredebian libheiflibheif v1.17.5 was discovered to contain a segmentation violation via the function UncompressedImageCodec::get_luma_bits_per_pixel_from_configuration_unci.EPSS0.76%HighCVE-2023-49460debian · libheif +2 moredebian libheiflibheif v1.17.5 was discovered to contain a segmentation violation via the function UncompressedImageCodec::decode_uncompressed_image.EPSS0.76%HighCVE-2023-49463Alpine Linuxalpine · libheif +3 morealpine libheiflibheif v1.17.5 was discovered to contain a segmentation violation via the function find_exif_tag at /libheif/exif.cc.EPSS0.77%