Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft HEIF file with no sequence tracks
-
DeliverySubmit to libheif-consuming application
-
Exploitheif_context_read_from_memory() accepts crafted input
-
ExecutionApplication calls heif_context_get_track() without has_sequence() guard
-
Persistassert abort (debug) or empty-map UB dereference (release)
-
ImpactProcess crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
|
| Exploitation Conditions | Exploitation requires that the target application links against libheif 1.23.0 or earlier, passes attacker-controlled bytes to heif_context_read_from_memory() or an equivalent file-reading entry point, and subsequently calls heif_context_get_track() on the resulting context without first confirming track presence via heif_context_has_sequence(). The CVSS UI:R rating reflects the typical desktop scenario where a human user opens a crafted file; however, automated server-side pipelines - thumbnail generators, media transcoding APIs, upload processors - that process untrusted content without direct user interaction remove this requirement entirely and represent the higher-risk deployment mode. The crash is strictly confined to the process running libheif: no privilege escalation, kernel impact, or cross-process data exposure is possible from this vulnerability. Debug builds abort immediately on the assertion; release or optimized builds reach undefined behavior that typically manifests as a segmentation fault. |
| Impact | The vendor-assigned CVSS 3.1 base score of 4.3 (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L) accurately describes the common case where a human user opens a crafted file. However, the UI:R metric understates risk in automated server-side deployments - thumbnail generators, media transcoding APIs, and upload processors that invoke libheif without direct user interaction effectively reduce this to AV:N/AC:L/PR:N/UI:N, raising the practical severity. No CISA KEV listing and no public PoC are present in the available intelligence; EPSS probability is expected to be low for a non-disclosure DoS in a parsing library. The impact is bounded to a single process crash with no confidentiality or integrity consequence, which limits blast radius but can cause service disruption or repeated availability failures in high-volume image processing. Overall this is a genuine but moderate-priority issue whose urgency scales with deployment context: patch promptly if libheif is used in automated, server-side, or multi-tenant pipelines; lower priority for single-user desktop applications. |
| Exploit ScenarioDerived | An attacker submits a crafted HEIF still-image file to a service that accepts user-uploaded media and processes it with libheif - for example a social platform or photo storage application running a thumbnail pipeline. The file passes heif_context_read_from_memory() without error but contains no sequence tracks; when the pipeline subsequently calls heif_context_get_track(ctx, 0) without first checking heif_context_has_sequence(), the worker process crashes. Repeated submissions can cause sustained availability disruption. No public exploit code has been identified, but the crash-triggering pattern is directly documented in the regression test added by the upstream fix. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
Denial-of-service in libheif 1.23.0 and earlier crashes host processes when a crafted HEIF sequence file - accepted by heif_context_read_from_memory() - leaves the context with no registered sequence tracks and heif_context_get_track() is subsequently called. Debug builds abort on assert(has_sequence()) in HeifContext::get_track(); release builds reach undefined behavior by dereferencing m_tracks.begin()->second on an empty std::map, which typically causes a segfault. The flaw is reachable through documented public APIs after parsing attacker-controlled bytes, making it directly relevant to any service that processes untrusted HEIF or AVIF input. No public exploit code is identified at time of analysis, and no CISA KEV listing exists.
RemediationAI
Upgrade libheif to version 1.23.1, which replaces assert(has_sequence()) with a proper heif_error_Usage_error return that the public API wrapper correctly propagates as null from heif_context_get_track(). The release is available at https://github.com/strukturag/libheif/releases/tag/v1.23.1 and the upstream fix is commit e1a0bc1c1ae74f8075eaca30a1cdb2b9bee698d3 at https://github.com/strukturag/libheif/commit/e1a0bc1c1ae74f8075eaca30a1cdb2b9bee698d3. If an immediate library upgrade is not possible, application code should call heif_context_has_sequence() and verify it returns non-zero before calling heif_context_get_track(); this avoids the crash without library changes but requires a code-level fix in every call site. A second compensating control for server-side deployments is to isolate libheif parsing in a sandboxed subprocess or container so a crash does not cascade into broader service unavailability - this adds operational complexity and latency overhead but provides defense-in-depth until patching is completed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libheif (strukturag/libheif) is a C++ library implementing ISO/IEC 23008-12 (HEIF) and AV1 Image File Format (AVIF) parsing and encoding, widely embedded in image viewers, media pipelines, and browser-adjacent stacks. The defective path is HeifContext::get_track() in libheif/context.cc, which formerly guarded track-map access with assert(has_sequence()) rather than a graceful error return. CWE-617 (Reachable Assertion) describes assertions reachable via external input that cause abnormal program termination - precisely the pattern here, where a crafted file reaches the assertion through the public API without requiring internal state invariants to be broken. In NDEBUG (release) builds the assert is compiled out, leaving an unchecked std::map::begin() dereference on an empty container - undefined behavior per the C++ standard that compilers typically resolve as a null-pointer dereference or bad read, causing a segfault. The public wrapper in libheif/api/libheif/heif_sequences.cc is intended to return null on failure but is bypassed by the early abort. Affected CPE: cpe:2.3:a:strukturag:libheif:*:*:*:*:*:*:*:* versions up to and including 1.23.0.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Network-delivered crafted file; no auth required; UI:R for user-opened file path; availability impact is process-level crash only with no disclosure.
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted HEIF sequence accepted by heif_context_read_from_memory() can leave the context with no registered sequence tracks and crash when heif_context_get_track(ctx, 0) is called. HeifContext::get_track() in libheif/context.cc executes assert(has_sequence()) before its normal error handling, so assert-enabled builds abort instead of allowing the public wrapper in libheif/api/libheif/heif_sequences.cc to return null. In release builds, removing the assertion lets the track_id zero path dereference m_tracks.begin()->second on an empty map, which is undefined behavior and typically crashes. The issue is reachable through documented public APIs after parsing attacker-controlled bytes. This issue is fixed in version 1.23.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Same weakness CWE-617 – Reachable Assertion
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Desktop Applications 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Not-Affected |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP6 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Not-Affected |
| SUSE Linux Enterprise Server 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Not-Affected |
| SUSE Linux Enterprise Server 15 SP6 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Not-Affected |
| SUSE Manager Proxy 4.3 | Not-Affected |
| SUSE Manager Retail Branch Server 4.3 | Not-Affected |
| SUSE Manager Server 4.3 | Not-Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Not-Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Not-Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Not-Affected |
| openSUSE Leap 15.4 | Not-Affected |
| openSUSE Leap 15.5 | Not-Affected |
| openSUSE Leap 15.6 | Not-Affected |
EUVD-2026-62191
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB