Skip to content
Fencer Vulns
medium 4.3

CVE-2026-62289 json

libheif: Integer underflow in Fraction constructor via double clap transform application

published 2026-08-18 2 mo ago modified 2026-10-22 18 d ago also EUVD-2026-62188

cvss
4.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 23%
public exploits
0
none known

Summary

libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted HEIF or AVIF file containing a clean aperture box can reduce an image dimension to zero and crash or corrupt tiling results when heif_image_handle_get_image_tiling(handle, 1, &tiling) is called. ImageItem::get_heif_image_tiling() returns already transformed dimensions, and process_image_transformations_on_tiling() applies the clean aperture transformation again. The second application passes zero to Box_clap::left_rounded(0), where image_width minus one underflows and constructs Fraction(0xFFFFFFFF, 2). Debug builds reach an assertion and abort, while release builds can return a corrupt crop and zero-width tiling result. The affected implementation spans libheif/image-items/image_item.cc, libheif/context.cc, and libheif/box.cc. This issue is fixed in version 1.23.1.

Patch / fix

  • struktur libheif 1.23.1
  • libheif Debian 13 1.19.8-1+deb13u1
  • libheif Debian 14 1.23.1-1

debian advisories DEBIAN-CVE-2026-62289

  • libheif Ubuntu 24.04 LTS 1.17.6-1ubuntu4.7
  • libheif Ubuntu 26.04 LTS 1.21.2-3ubuntu0.4
  • libheif Ubuntu Pro 18.04 LTS 1.1.0-2ubuntu0.1~esm4
  • libheif Ubuntu Pro 20.04 LTS 1.6.1-1ubuntu0.1~esm4
  • libheif Ubuntu Pro 22.04 LTS 1.12.0-2ubuntu0.1~esm4

ubuntu advisories UBUNTU-CVE-2026-62289

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libheif SLES for SAP applications 16.0, SLES 16.0 1.23.1-160000.1.1
  • libheif SLE Module for Package Hub 15 SP7, SLE Module for Desktop Applications 15 SP7 1.23.1-150700.3.18.1

suse advisories SUSE-SU-2026:23320-1SUSE-SU-2026:3597-1

  • libheif openSUSE Leap 16.0 1.23.1-160000.1.1
  • libheif openSUSE Tumbleweed 1.23.1-1.1

opensuse advisories openSUSE-SU-2026:21644-1openSUSE-SU-2026:11416-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-62289 updated cvss 7.1

libheif: libheif: Denial of Service or data corruption via crafted HEIF/AVIF file

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 mo ago

Exploit prediction

0.30% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Affected products

  • strukturag libheif

Classification

Weakness
  • CWE-191 Integer Underflow (Wrap or Wraparound)
  • CWE-617 Reachable Assertion

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.