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
| Link | Resource |
|---|---|
| https://github.com/strukturag/libheif/releases/tag/v1.22.0 | Release Notes |
| https://github.com/strukturag/libheif/security/advisories/GHSA-j9g7-q9hv-gq8c | Exploit Vendor Advisory |
| https://github.com/strukturag/libheif/security/advisories/GHSA-j9g7-q9hv-gq8c | Exploit Vendor Advisory |
Configurations
History
20 May 2026, 14:17
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:* | |
| References | () https://github.com/strukturag/libheif/releases/tag/v1.22.0 - Release Notes | |
| References | () https://github.com/strukturag/libheif/security/advisories/GHSA-j9g7-q9hv-gq8c - Exploit, Vendor Advisory | |
| First Time |
Struktur
Struktur libheif |
20 May 2026, 13:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () 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-05-20 14:17
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')
