Bug 2521921 - CVE-2026-62289 libheif: libheif: Denial of Service or data corruption via crafted HEIF/AVIF file [fedora-all]
Summary: CVE-2026-62289 libheif: libheif: Denial of Service or data corruption via cra...
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: libheif
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard: {"flaws": ["83a1d5ab-3df8-4d99-8a9c-a...
Depends On:
Blocks: CVE-2026-62289
TreeView+ depends on / blocked
 
Reported: 2026-08-24 14:03 UTC by Vladimir Vasilev
Modified: 2026-09-02 12:51 UTC (History)
3 users (show)

Fixed In Version: libheif-1.23.1-9.fc45,libheif-1.23.1-9.fc46
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-08-24 14:03:48 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Dominik 'Rathann' Mierzejewski 2026-09-02 12:51:56 UTC
Fixed in 1.23.1: https://github.com/strukturag/libheif/releases/tag/v1.23.1 .


Note You need to log in before you can comment on or make changes to this bug.