Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 76%

CVE-2026-32739: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in strukturag libheif

0
Medium
VulnerabilityCVE-2026-32739cvecve-2026-32739cwe-835
Published: 05/19/2026 (05/19/2026, 19:10:03 UTC)
Source: CVE Database V5
Vendor/Project: strukturag
Product: libheif

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 v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected software

GitHub Actionsmore threats →ai
strukturag/libheif
pkg:github/strukturag/libheif
Affected versions
<1.22.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/20/2026, 13:35:28 UTC

Technical Analysis

The vulnerability CVE-2026-32739 affects libheif, a HEIF and AVIF file format decoder and encoder. In versions prior to 1.22.0, a specially crafted 800-byte HEIF sequence file causes an infinite loop in the Box_stts::get_sample_duration() method. This loop has no exit condition or iteration limit, resulting in the process consuming 100% CPU indefinitely during file parsing, before any user interaction or image decoding occurs. The process remains alive without crashing or logging errors, which can evade crash-based monitoring systems. The issue is resolved in libheif version 1.22.0.

Potential Impact

An attacker can cause a denial of service by supplying a malicious HEIF file that triggers an infinite loop in libheif versions 1.21.2 and below. This leads to full CPU utilization by the affected process, effectively halting progress without crashing or generating error logs, making it difficult to detect through conventional monitoring.

Mitigation Recommendations

This vulnerability is fixed in libheif version 1.22.0. Users and integrators should upgrade to version 1.22.0 or later to remediate this issue. No other official remediation or temporary fixes are documented. Patch status is confirmed by the vendor advisory indicating the fix in version 1.22.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-13T15:02:00.628Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0db4deba1db473627ecdbe

Added to database: 05/20/2026, 13:19:26 UTC

Last enriched: 05/20/2026, 13:35:28 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 74

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses