Impact
A crafted HEIF sequence causes libheif to accept a file that contains no registered sequence tracks. When the public API heif_context_get_track(ctx, 0) is called, the internal assertion HeifContext::get_track() executes an assert that the sequence exists. In assertion-enabled builds this aborts the process; in release builds the subsequent undefined dereference typically crashes. The failure is not a code execution flaw but results in a crash that can terminate image processing services or applications that use libheif.
Affected Systems
The vulnerability affects version 1.23.0 and all earlier releases of strukturag libheif. Any software that links to libheif and uses the heif_context_read_from_memory() API, such as image viewers, editors, or media servers, is impacted if the library is built without defensive checks or in a context where assertion handling leads to abort. The problem is shown to be fixed in libheif 1.23.1.
Risk and Exploitability
The CVSS base score of 4.3 reflects a moderate impact with local scope. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack surface requires the attacker to supply a specially crafted HEIF file, typically through a file upload or media pipeline. Because the crash is predictable and reachable via documented public functions, an attacker who can influence the input to a libheif-using process can reliably cause a denial of service.
OpenCVE Enrichment