Quick answers
- Is CVE-2026-32739 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-32739 being exploited in the wild.
- How severe is CVE-2026-32739?
- Medium severity, with a CVSS score of 6.5, published 19 May 2026.
- Which products and versions are affected?
- struktur AG Libheif <= 1.21.2.
- Is there a fix for CVE-2026-32739?
- A patch was published on 2026-05-19: Version 1.22.0 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-32739 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-32739?
- Check whether you run struktur AG Libheif at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
An infinite loop vulnerability exists in libheif versions 1.21.2 and earlier within the Box_stts::get_sample_duration() and Box_ctts::get_sample_offset() functions in libheif/sequences/seq_boxes.cc. The root cause is a missing loop increment variable; when a crafted HEIF file contains a 'stts' (sample-to-time) box entry with a sample_count of zero, the loop fails to progress while the exit condition remains unfulfilled. An attacker can bypass library consistency checks by providing multiple entries that sum to a valid total. The vulnerability is triggered during the initial file parsing phase (heif_context_read_from_file) before any image decoding or user interaction occurs. This results in a permanent hang of the process with 100% CPU utilization and no error logs, effectively bypassing crash-based monitoring systems. The issue is resolved in version 1.22.0.
Affected products
- strukturag libheif <= 1.21.2
Timeline
- 2026-05-19: advisory: GHSA-j9g7-q9hv-gq8c published
- 2026-05-19: patched: Version 1.22.0 released
- 2026-05-19: disclosed: CVE-2026-32739 published to NVD