strukturag libheif up to 1.21.x AVIF File get_sample_duration infinite loop
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.8 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in strukturag libheif up to 1.21.x. The impacted element is the function Box_stts::get_sample_duration of the component AVIF File Handler. Such manipulation leads to infinite loop.
This vulnerability is uniquely identified as CVE-2026-32739. The attack can be launched remotely. No exploit exists.
Upgrading the affected component is recommended.
Details
A vulnerability was found in strukturag libheif up to 1.21.x and classified as problematic. Affected by this issue is the function Box_stts::get_sample_duration of the component AVIF File Handler. The manipulation with an unknown input leads to a infinite loop vulnerability. Using CWE to declare the problem leads to CWE-835. The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. Impacted is availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-32739 since 03/13/2026. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1499.
The vulnerability scanner Nessus provides a plugin with the ID 316386 (Linux Distros Unpatched Vulnerability : CVE-2026-32739), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.22.0 eliminates this vulnerability. The upgrade is hosted for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (316386). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Vendor
Name
Version
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.8
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 6.5
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Infinite loopCWE: CWE-835 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 316386
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-32739
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: libheif 1.22.0
Timeline
03/13/2026 CVE reserved05/19/2026 Advisory disclosed
05/19/2026 VulDB entry created
05/24/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-j9g7-q9hv-gq8c
Status: Confirmed
CVE: CVE-2026-32739 (🔒)
GCVE (CVE): GCVE-0-2026-32739
GCVE (VulDB): GCVE-100-364712
Entry
Created: 05/19/2026 22:43Updated: 05/24/2026 14:44
Changes: 05/19/2026 22:43 (67), 05/24/2026 14:44 (2)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.