Skip to main content
VulnerabilityPublished Updated

CVE-2026-62377: libheif is a HEIF and AVIF file format decoder and encoder

Affects libheifSource GCVE Database

0
Compare
Authoritative record:CVE-2026-62377· Medium 4.3

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

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=resoluteOther threatsAffected
  • <1.21.2-3ubuntu0.5
Fixed in
  • 1.21.2-3ubuntu0.5

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

Community reviews

Loading reviews…