Skip to main content
VulnerabilityPublished Updated

CVE-2025-68431: libheif is an HEIF and AVIF file format decoder and encoder

Affects libheifSource GCVE Database

0
Compare
Authoritative record:CVE-2025-68431· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium · fixed in 1.1.0-2ubuntu0.1~esm2 : update libheif when convenient.

Data as of 24 Nov 2026, 20:11 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.1.0-2ubuntu0.1~esm2, 1.6.1-1ubuntu0.1~esm2, 1.12.0-2ubuntu0.1~esm2 +3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Dec 2025

  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 to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=resoluteOther threatsAffected
  • <1.21.2-1
Fixed in
  • 1.21.2-1
Ubuntu 25.10libheifpkg:deb/ubuntu/libheif?arch=source&distro=questingOther threatsAffected
  • <1.20.2-1ubuntu0.1
Fixed in
  • 1.20.2-1ubuntu0.1
Ubuntu 24.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=nobleOther threatsAffected
  • <1.17.6-1ubuntu4.2
Fixed in
  • 1.17.6-1ubuntu4.2
Ubuntu Pro 22.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <1.12.0-2ubuntu0.1~esm2
Fixed in
  • 1.12.0-2ubuntu0.1~esm2
Ubuntu Pro 20.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=esm-apps/focalOther threatsAffected
  • <1.6.1-1ubuntu0.1~esm2
Fixed in
  • 1.6.1-1ubuntu0.1~esm2
Ubuntu Pro 18.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <1.1.0-2ubuntu0.1~esm2
Fixed in
  • 1.1.0-2ubuntu0.1~esm2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

libheif is an HEIF and AVIF file format decoder and encoder. Prior to version 1.21.0, a crafted HEIF that exercises the overlay image item path triggers a heap buffer over-read in `HeifPixelImage::overlay()`. The function computes a negative row length (likely from an unclipped overlay rectangle or invalid offsets), which then underflows when converted to `size_t` and is passed to `memcpy`, causing a very large read past the end of the source plane and a crash. Version 1.21.0 contains a patch. As a workaround, avoid decoding images using `iovl` overlay boxes.

References

Community reviews

Loading reviews…