Описание
Security update for libheif
This update for libheif fixes the following issues:
Update to version 1.23.1 (jsc#PED-16355).
Security issues fixed:
- CVE-2026-62289: integer underflow in Fraction constructor via double clap transform application (bsc#1273079).
- CVE-2026-62291: heap out-of-bounds write in the uncompressed encoder when writing images with mismatched auxiliary alpha dimensions (bsc#1273080).
- CVE-2026-62292: out-of-bounds read in uncompressed unci tile range slicing (bsc#1273081).
- CVE-2026-62377: reachable assertion in
HeifContext::get_track()aborts on a valid-but-empty HEIF sequence file (bsc#1273082). - Heap out-of-bounds write in the uncompressed encoder for RRGGBB images with interleaved bit-depth
<= 8(bsc#1273083).
Changes for libheif:
- Version 1.23.1
- FFmpeg decoder plugin gains AV1, VVC, JPEG, and JPEG 2000/HTJ2K decoding.
- SVT-AV1 encoder: new
tune=iqandms-ssimtune parameters. - C++ API: added getters/setters for the CLLI and MDCV HDR metadata boxes.
- Sequence decoder now scales the alpha auxiliary track to the main image size.
- Fixed pixi box writing for multi-channel images.
- Corrected the placement of the TAI
clock_typefield into the top 2 bits. - Empty/unset plugin directory is no longer scanned.
Список пакетов
openSUSE Leap 16.0
Ссылки
- SUSE Security Ratings
- SUSE Bug 1273079
- SUSE Bug 1273080
- SUSE Bug 1273081
- SUSE Bug 1273082
- SUSE Bug 1273083
- SUSE CVE CVE-2026-62289 page
- SUSE CVE CVE-2026-62291 page
- SUSE CVE CVE-2026-62292 page
- SUSE CVE CVE-2026-62377 page
Описание
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.
Затронутые продукты
Ссылки
- CVE-2026-62289
- SUSE Bug 1273079
Описание
libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted image sequence with a 2x2 primary plane and a 256x256 auxiliary alpha plane can cause attacker-controlled heap corruption during a normal decode and re-encode workflow. Track_Visual::decode_next_image_sample() calls transfer_channel_from_image_as() without checking that the auxiliary alpha dimensions match the main frame. The resulting inconsistent image reaches heif_track_decode_next_image() and then heif_context_encode_image(). In unc_encoder::encode(), unc_encoder_component_interleave::encode_tile() sizes its buffer with compute_tile_data_size_bytes() using the primary dimensions but copies each component using its actual plane dimensions. The oversized alpha plane is therefore copied beyond the allocation, causing an out-of-bounds write; the inverse size mismatch can also produce an out-of-bounds read. This issue is fixed in version 1.23.1.
Затронутые продукты
Ссылки
- CVE-2026-62291
- SUSE Bug 1273080
Описание
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.
Затронутые продукты
Ссылки
- CVE-2026-62292
- SUSE Bug 1273081
Описание
libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted HEIF sequence accepted by heif_context_read_from_memory() can leave the context with no registered sequence tracks and crash when heif_context_get_track(ctx, 0) is called. HeifContext::get_track() in libheif/context.cc executes assert(has_sequence()) before its normal error handling, so assert-enabled builds abort instead of allowing the public wrapper in libheif/api/libheif/heif_sequences.cc to return null. In release builds, removing the assertion lets the track_id zero path dereference m_tracks.begin()->second on an empty map, which is undefined behavior and typically crashes. The issue is reachable through documented public APIs after parsing attacker-controlled bytes. This issue is fixed in version 1.23.1.
Затронутые продукты
Ссылки
- CVE-2026-62377
- SUSE Bug 1273082