CVE-2026-32739
MEDIUMlibheif is Vulnerable to Infinite Loop DoS via stts Sample Duration Lookup
Title source: cnaDescription
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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/strukturag/libheif/security/advisories/GHSA-j9g7-q9hv-gq8c
X_Refsource_Misc x_refsource_misc
https://github.com/strukturag/libheif/releases/tag/v1.22.0
Scores
CVSS v3
6.5
EPSS
0.0031
EPSS Percentile
22.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-835
Status
published
Products (2)
struktur/libheif
< 1.22.0
strukturag/libheif
< 1.22.0
Published
May 19, 2026
Tracked Since
May 19, 2026