Bug 2521919 - CVE-2026-62292 libheif: libheif: Denial of service via crafted HEIF image processing [fedora-all]
Summary: CVE-2026-62292 libheif: libheif: Denial of service via crafted HEIF image pro...
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": ["abcf2e86-0d1a-43db-8143-a...
Depends On:
Blocks: CVE-2026-62292
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:30 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. From 1.19.0 until 1.23.1, a crafted uncompressed HEIF image using generic zlib unci full-item compression can crash an application that decodes an advertised tile with heif_image_handle_decode_image_tile(). In libheif/codecs/uncompressed/unc_decoder.cc, unc_decoder::fetch_tile_data() computes a large tile offset and unc_decoder::get_compressed_image_data_uncompressed() validates it with range_start_offset plus range_size. For the last advertised tile (4095, 4095), the addition can wrap to zero, bypass the bounds check, and pass an invalid source pointer and a one-terabyte length to memcpy. The observed result is an out-of-bounds read and process crash; opening the file alone does not trigger the issue because tile decoding is required. This issue is fixed in version 1.23.1.

Comment 1 Dominik 'Rathann' Mierzejewski 2026-09-02 12:51:58 UTC
This is 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.