Skip to content
OpenAdvisories
Critical openSUSE-SU-2026:21889-1 8 CVEs

Security update for libheif

Published Sep 20, 2026 · Updated Sep 25, 2026

Summary

This update for libheif fixes the following issues:

- CVE-2026-84383: Heap buffer overflow in scale_nearest_neighbor() via duplicate alpha planes from nested iden/auxl
items (bsc#1279443).
- CVE-2026-84384: brotli/zlib decompression paths lack output-size limits, allowing decompression-bomb OOM/DoS
(bsc#1279445).
- CVE-2026-84444: Out-of-bounds write in the unci encoder (bsc#1279448).
- CVE-2026-84446: Sequence decode timing-table initialization allows non-terminating loops and unbounded memory,
bypassing max_sequence_frames (bsc#1279447).
- CVE-2026-84447: Derived-image indirect reference chains and tiled offsets bypass decode caching and MemoryHandle
limits, causing CPU/memory amplification DoS (bsc#1279446).
- CVE-2026-84448: Heap out-of-bounds read in the inline-mask region API (bsc#1279449).
- CVE-2026-84450: image item with `clap` property and an ispe declaring a dimension greater than `INT32_MAX + 1` can
lead to a crash via an abort (bsc#1280002).
- CVE-2026-84451: crafted HEIF file advertising a 4096 � 4096 uncompressed tile grid can cause an out-of-bounds read due
to an integer overflow (bsc#1280001).
- Heap out-of-bounds write in the uncompressed encoder for RRGGBB images with interleaved bit-depth <= 8 (bsc#1273083).
- Out-of-bounds read and write in derived-item and pixel-plane handling (bsc#1279444).

Changes for libheif:

- Update to version 1.23.4:
* CVE-2026-XXXXX: The max_items security limit was not enforced
for the child boxes of iinf, so a file could declare an
unbounded number of items.
* CVE-2026-XXXXX: Unbounded recursion in the reference-cycle
check crashed the parser on a long chain of derived items,
without bound when the item-count limit is disabled.
* CVE-2026-XXXXX: Permanent decoder deadlock through a lock-order
inversion in parallel grid tile decoding (enabled by default).
* CVE-2026-XXXXX: Heap out-of-bounds read in the encoder pluginsi
for images whose luma and chroma bit depths differ.
* CVE-2026-XXXXX: Unreclaimable memory leak in
heif_track_get_next_raw_sequence_sample().
* CVE-2026-XXXXX: Heap out-of-bounds read in the WebCodecs
decoder plugin
- includes fixes from 1.23.3:
* CVE-2026-XXXXX: Heap buffer overflow (write) in the
uncompressed (unci) mixed-interleave decoder when the two
chroma components declare different bit depths.
* CVE-2026-XXXXX: Permanent decoder deadlock through a reference
cycle between an image and its alpha auxiliary image.
* CVE-2026-XXXXX: Heap out-of-bounds read in the YCbCr 4:2:0 to
16-bit interleaved RGB conversion when the chroma planes have a
lower bit depth than luma
* CVE-2026-XXXXX: Heap buffer overflow in the SVT-AV1 encoder
plugin when encoding a high-bit-depth alpha channel, and a
double free on its send-picture error path.
* CVE-2026-84451: Incomplete fix: the tile range check of the
unci decoder (without icef) could still overflow, allowing an
out-of-bounds read
* CVE-2026-XXXXX: Heap out-of-bounds read when converting odd-
height 4:2:0 frames of an uncompressed (uncv) image sequence to
RGB.
* CVE-2026-XXXXX: Out-of-bounds read in the RGB to YCbCr identity-
matrix color conversion when the R, G, and B planes have
different bit depths
* CVE-2026-84450: A clap property combined with an oversized ispe
reached an assert() in the Fraction arithmetic and aborted the
process (incomplete fix). An error is returned instead.
* Fix Several smaller findings
* Fix Undefined behavior (negative shift) in the HDR bit-depth
up-conversion for target bit depths above 16. Such conversions
are now rejected.
* A number of bug fixes
- Update to version 1.23.2: [jsc#PED-16355]
* CVE-2026-84383: Heap buffer overflow in
scale_nearest_neighbor() via duplicate alpha planes from
nested iden/auxl items. (boo#CVE-2026-84383)
* Out-of-bounds read and write in derived-item and pixel-plane
handling. Through iden and auxl item chains, a crafted file
could attach pixel planes whose size differs from the image
geometry; crop, scale, and plane-extraction code then indexed
those planes with the wrong size. A working code-execution
exploit was confirmed. Plane sizes are now validated wherever
they are consumed. (boo#1279444)
* CVE-2026-84384: brotli/zlib decompression of mime metadata
and unci image data had no effective output-size limit, so a
decompression bomb could exhaust memory. Decompressed output
is now bounded by the security limits. (boo#1279445)
* CVE-2026-84447: Chains of derived-image references (grid,
iovl, iden) bypassed decode caching and memory limits, causing
CPU and memory amplification. (boo#1279446)
* CVE-2026-84446: Sequence sample-timing initialization could
produce non-terminating decode loops and unbounded memory,
bypassing max_sequence_frames. (boo#1279447)
* CVE-2026-84444: Out-of-bounds write in the unci encoder when
heif_context_add_image_tile() is given a tile whose planes do
not match its declared size. (boo#1279448)
* CVE-2026-84448: Heap out-of-bounds read in the inline-mask
region API when mask_data_len does not match the region
geometry. (boo#1279449)
* C++ exceptions such as std::bad_alloc can no longer escape the
C API read/decode entry points; they are returned as a
heif_error instead of aborting the process
* assert()s in the pixel-image plane allocation were replaced by
runtime errors
* stts/ctts tables describing more samples than the track can
have are rejected
* pclr (JPEG 2000 palette) box: the number of palette entries is
bounded by the box size
* BitReader::skip_bytes() is now constant time (fixes a fuzzer
timeout on bogus alignment values)
* iden items now validate the decoded image size like all other
items
* The uncompressed (unci) encoder rejects images without pixel
planes
* meta, mini, and moov boxes with size 0 (extending to the end of
the file) are now parsed correctly
* Fixed an integer overflow when probing the file size
* Fixed undefined behavior (signed shift) when reading the NAL
unit length in t

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 16.0 libheif 1.23.4-160000.1.1

Vulnerabilities 8

  • Critical 9.8
    CVE-2026-84383 Public exploit

    libheif: Heap buffer overflow in `scale_nearest_neighbor()` via duplicate Alpha planes from nested `iden`/`auxl` items

    libheif is a HEIF and AVIF file format decoder and encoder. From 1.22.0 until 1.23.2, a crafted HEIF, HEIC, or AVIF item graph using nested iden and auxl references can make HeifPixelImage::transfer_channel_from_image_as() append duplicate Alpha planes with d…

  • High 7.5

    libheif: brotli/zlib decompression paths lack output-size limits, allowing decompression-bomb OOM/DoS

    libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.2, crafted HEIF or AVIF mime metadata and unci image data can cause decompress_brotli() and do_inflate() to grow accumulated output without an effective size limit or MemoryHan…

  • High 7.5

    libheif: Sequence decode timing-table initialization allows non-terminating loops and unbounded memory, bypassing max_sequence_frames

    libheif is a HEIF and AVIF file format decoder and encoder. Prior to 1.23.2, crafted HEIF sequence timing and edit-list data can make Track::init_sample_timing_table() compute a logical m_num_output_samples value that exceeds the uint32_t counters used by Tra…

  • High 7.5

    libheif: Derived-image indirect reference chains and tiled offsets bypass decode caching and MemoryHandle limits, causing CPU/memory amplification DoS

    libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.1 and earlier, crafted grid, iovl, and iden reference graphs can repeatedly decode the same base image because processed_ids is copied per branch and ImageItem::decode_image() has no shared o…

  • High 7.4

    libheif uncompressed tiled image encoding allows out-of-bounds write

    libheif is a HEIF and AVIF file format decoder and encoder. Prior to 1.23.2, when WITH_UNCOMPRESSED_CODEC is enabled, heif_context_add_image_tile() accepts an independently constructed tile whose component-plane dimensions do not match the tile geometry estab…

  • Medium 6.5

    libheif: Incomplete fix for CVE-2026-62292 leaves libheif vulnerable to an out-of-bounds read

    libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.3, the no-icef full-item branch of unc_decoder::get_compressed_image_data_uncompressed() in libheif/codecs/uncompressed/unc_decoder.cc retains an addition-based range check tha…

  • Medium 4.3

    libheif: `clap` + oversized `ispe` aborts on an assert in `Fraction::Fraction` (incomplete fix for CVE-2026-62289)

    libheif is a HEIF and AVIF file format decoder and encoder. From 1.19.0 until 1.23.3, a crafted image item containing a clap property and an ispe width or height greater than INT32_MAX + 1 can reach crop calculations through heif_image_handle_get_image_tiling…

  • Medium 4.0

    libheif: Heap out-of-bounds read in libheif inline-mask region API (heif_region_item_add_region_inline_mask_data / heif_region_get_mask_image)

    libheif is a HEIF and AVIF file format decoder and encoder. Prior to 1.23.2, the public heif_region_item_add_region_inline_mask_data() function in libheif/api/libheif/heif_regions.cc accepts mask_data_len without verifying that it equals the byte count requir…

References

  • report
    https://bugzilla.suse.com/1273083
  • report
    https://bugzilla.suse.com/1279443
  • report
    https://bugzilla.suse.com/1279444
  • report
    https://bugzilla.suse.com/1279445
  • report
    https://bugzilla.suse.com/1279446
  • report
    https://bugzilla.suse.com/1279447
  • report
    https://bugzilla.suse.com/1279448
  • report
    https://bugzilla.suse.com/1279449
  • report
    https://bugzilla.suse.com/1280001
  • report
    https://bugzilla.suse.com/1280002
  • web
    https://www.suse.com/security/cve/CVE-2026-84383
  • web
    https://www.suse.com/security/cve/CVE-2026-84384
  • web
    https://www.suse.com/security/cve/CVE-2026-84444
  • web
    https://www.suse.com/security/cve/CVE-2026-84446
  • web
    https://www.suse.com/security/cve/CVE-2026-84447
  • web
    https://www.suse.com/security/cve/CVE-2026-84448
  • web
    https://www.suse.com/security/cve/CVE-2026-84450
  • web
    https://www.suse.com/security/cve/CVE-2026-84451