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…

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

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

Description

CVE-2026-32739 is a vulnerability in libheif versions 1. 21. 2 and below where a crafted HEIF file triggers an infinite loop during parsing, causing 100% CPU usage and a denial of service. The issue occurs in the Box_stts::get_sample_duration() function and does not cause a crash or error logs, making detection difficult. This vulnerability has been fixed in libheif version 1. 22. 0.

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: 5/20/2026, 1:19:26 PM

Last enriched: 5/20/2026, 1:35:28 PM

Last updated: 5/20/2026, 5:28:42 PM

Views: 4

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