6.5

CVE-2026-32739: libheif is Vulnerable to Infinite Loop DoS via stts Sample Duration Lookup

Analyzed
AliasesALPINE-CVE-2026-32739UBUNTU-CVE-2026-32739DEBIAN-CVE-2026-32739
Published 19-05-2026Last modified 20-05-2026

Vulnerability summary

CVE-2026-32739 is a medium (CVSS 6.5) Loop with Unreachable Exit Condition vulnerability in struktur libheif. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 6 · Related 5

Timeline

  1. 19-05-2026
    PublishedVulnerability first disclosed.
  2. 20-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.32%

Chance of exploitation in the next 30 days

Percentile

27%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.32% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Libheif

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • libheif< 1.23.0-r0 | < 1.22.2-r0
Debian1 product
  • libheifAll versions (No fix recorded) | < 1.23.1-1
Struktur1 product
Strukturag1 product
Ubuntu1 product
  • libheif< 1.20.2-1ubuntu0.4 | < 1.21.2-3ubuntu0.1

5 vendors · 5 products

References

7 links