Advisory

UBUNTU-CVE-2026-62289

Also known as: CVE-2026-62289

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Dates

Published
2026-08-13 00:00 UTC
Modified
2026-09-02 19:36 UTC

Affected packages and fixes

libheif

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.17.6-1ubuntu4.7 (ecosystem)

Fixed versions

1.17.6-1ubuntu4.7

Fix

  • Fixed version 1.17.6-1ubuntu4.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libheif

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.21.2-3ubuntu0.4 (ecosystem)

Fixed versions

1.21.2-3ubuntu0.4

Fix

  • Fixed version 1.21.2-3ubuntu0.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences