Description of the patch:
This update for libheif fixes the following issues:
- CVE-2026-84449: hOp_RGB24_32_to_YCbCr Memory Access Error / SEGV (bsc#1281829).
- AV1/libaom path allows allocation before libheif rejects mismatched coded dimensions (bsc#1281953).
- Caller-configured security limits not enforced for MINI-box parsing (bsc#1281952).
- Heap out-of-bounds read in libheif alpha compositing via mismatched per-channel bit depths (bsc#1281951).
- Heap-use-after-free and double free in ImageItem::encode_to_bitstream_and_boxes (bsc#1281949).
- Incomplete OpenJPEG pre-decode security limits allow unsafe decode through the public API (bsc#1281954).
- JPEG 2000 pclr zero-column allocation amplification bypasses max_total_memory (bsc#1281950).
- Out-of-bounds heap read in unc_encoder_rgb_pixel_interleave (bsc#1281948).
Changes for libheif:
- (GHSA-v8qw-hwjv-44hw) Memory exhaustion
through a mismatch between the container and the bitstream
image size. A crafted image can declare a small size in its
ispe property while the bitstream declares a much larger
coded frame. The container-level checks used the ispe size,
so the oversized bitstream reached the decoder, which
allocated a frame buffer for the in-band size before libheif
rejected the mismatch. The advisory demonstrated this for AV1
with the libaom backend (a 351-byte AVIF declaring 64x64 but
coding up to 27648x27648, allocating hundreds of MB to more
than 10 GB), but the same class affects every codec whose
real frame size lives in the bitstream. The coded size is now
checked against max_image_size_pixels in the codec-
independent decode path, before any bytes reach a decoder
plugin: all AV1 sequence headers, all HEVC/AVC/VVC SPS NAL
units (including those carried in the item data, not only the
ones in the configuration record), the JPEG SOF marker and
the JPEG 2000 SIZ reference grid are scanned for the largest
coded size. (high)
- (GHSA-qwpf-5wf7-r996) Heap…