CVE-2026-62377: libheif is a HEIF and AVIF file format decoder and encoder
Affects libheifSource GCVE Database
Not known to be exploited · CVSS 4.3 Medium : upgrade to 1.21.2-3ubuntu0.5 when convenient.
Data as of 24 Nov 2026, 20:45 UTC
- Patch
- Available – fixed in 1.21.2-3ubuntu0.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 18 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu libheif package to 1.21.2-3ubuntu0.5.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-62377 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-62377 (opens in a new tab)
- github.com/strukturag/libheif/commit/e1a0bc1c1ae74f8075eaca30a1cdb2b9bee698d3 (opens in a new tab)
- github.com/strukturag/libheif/issues/1844 (opens in a new tab)
- github.com/strukturag/libheif/releases/tag/v1.23.1 (opens in a new tab)
- github.com/strukturag/libheif/security/advisories/GHSA-9ww4-9v47-m7pj (opens in a new tab)
- ubuntu.com/security/notices/USN-8774-1 (opens in a new tab)