CVE-2026-32739

libheif 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*

History

24 Jul 2026, 09:10

Type Values Removed Values Added
Summary
  • (es) libheif es un decodificador y codificador de formato de archivo HEIF y AVIF. En las versiones 1.21.2 e inferiores, un archivo de secuencia HEIF de 800 bytes manipulado provoca un bucle infinito en Box_stts::get_sample_duration(), consumiendo el 100% de la CPU indefinidamente sin ningún progreso, lo que lleva a DoS. El bucle no tiene límite de iteraciones ni tiempo de espera y se activa durante la apertura del archivo (análisis), antes de cualquier interacción del usuario o decodificación de imagen. El proceso permanece activo (sin bloqueo, sin error registrado), lo que lo hace invisible para la monitorización basada en bloqueos. Este problema ha sido solucionado en la versión 1.22.0.

20 May 2026, 14:17

Type Values Removed Values Added
References () https://github.com/strukturag/libheif/releases/tag/v1.22.0 - () https://github.com/strukturag/libheif/releases/tag/v1.22.0 - Release Notes
References () https://github.com/strukturag/libheif/security/advisories/GHSA-j9g7-q9hv-gq8c - () https://github.com/strukturag/libheif/security/advisories/GHSA-j9g7-q9hv-gq8c - Exploit, Vendor Advisory
First Time Struktur libheif
Struktur
CPE cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*

20 May 2026, 13:16

Type Values Removed Values Added
References () https://github.com/strukturag/libheif/security/advisories/GHSA-j9g7-q9hv-gq8c - () https://github.com/strukturag/libheif/security/advisories/GHSA-j9g7-q9hv-gq8c -

19 May 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-19 20:16

Updated : 2026-07-24 09:10


NVD link : CVE-2026-32739

Mitre link : CVE-2026-32739

CVE.ORG link : CVE-2026-32739


JSON object : View

Products Affected

struktur

  • libheif
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')