CVE-2026-32739: libheif - Denial of Service
- Cve: CVE-2026-32739
- Name: libheif - Denial of Service
- Description: 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.
- Impact: Attackers can cause 100% CPU usage indefinitely, leading to denial of service without crashing the process.
- Remediation: Update to version 1.22.0 or later.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.0032
- Epss percentile: 0.25225
- Assignee: [email protected]
- Published at: 2026-05-19T20:16:18Z
- Age in days: 189
- Modified at: 2026-07-24T09:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-32739
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-835 | Loop with Unreachable Exit Condition |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/strukturag/libheif/security/advisories/GHSA-j9g7-q9hv-gq8c | nvd | 2026-05-19 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/strukturag/libheif/security/advisories/GHSA-j9g7-q9hv-gq8c | nvd | Exploit, Vendor Advisory |
| https://github.com/strukturag/libheif/releases/tag/v1.22.0 | nvd | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| struktur:libheif | < 1.22.0 | no | nvd | /v1/products/struktur/libheif |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| strukturag/libheif | fix, releases, security_advisory | yes | /v1/repositories/strukturag/libheif |
Index
- Repositories: 1478
- Repositories high signal: 963
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-05-19
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts