Skip to main content
EPSS 0.4%top 67%

CVE-2026-62377: CWE-617: Reachable Assertion in strukturag libheif

0
Medium
Published: 08/20/2026 (08/20/2026, 00:00:00 UTC)
Source: CVE Database V5
Vendor/Project: strukturag
Product: libheif

Description

A reachable assertion vulnerability exists in libheif versions 1.23.0 and earlier. When processing crafted HEIF sequences via heif_context_read_from_memory(), the context may end up with no registered sequence tracks, causing a crash when heif_context_get_track(ctx, 0) is called. This occurs because an assertion in get_track() aborts in debug builds, while release builds dereference an empty map leading to undefined behavior and typical crashes. The issue is fixed in version 1.23.1.

CVSS v3.1

Score 4.3medium

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

Affected software

strukturag

libheif

Affected versions
<1.23.1
GitHub Actionsmore threats →ai
strukturag/libheif
pkg:github/strukturag/libheif
Affected versions
<=1.23.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: 09/19/2026, 01:34:55 UTC

Technical Analysis

libheif, a HEIF and AVIF file format decoder and encoder, has a reachable assertion vulnerability (CWE-617) in versions 1.23.0 and earlier. A crafted HEIF sequence accepted by heif_context_read_from_memory() can leave the context without any registered sequence tracks. The function heif_context_get_track(ctx, 0) calls an assertion (assert(has_sequence())) in get_track() before normal error handling. In debug builds, this assertion aborts the program. In release builds, the assertion is removed, but the code dereferences an empty map (m_tracks.begin()->second), causing undefined behavior and typically a crash. This vulnerability is reachable through documented public APIs after parsing attacker-controlled input. The issue is resolved in libheif version 1.23.1.

Potential Impact

This vulnerability causes a denial of service through application crashes when processing maliciously crafted HEIF files. There is no impact on confidentiality or integrity. The CVSS 3.1 score is 4.3 (medium severity), reflecting network attack vector, low complexity, no privileges required, user interaction required, unchanged scope, no confidentiality or integrity impact, and availability impact limited to crashes.

Mitigation Recommendations

Upgrade libheif to version 1.23.1 or later, where this issue is fixed. Until then, avoid processing untrusted HEIF files with vulnerable versions. No other mitigations are specified or required.

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-07-13T22:04:59.678Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a84d00bc6e8be0332c73b07

Added to database: 08/18/2026, 21:35:07 UTC

Last enriched: 09/19/2026, 01:34:55 UTC

Last updated: 10/02/2026, 02:46:05 UTC

Views: 64

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