CVE Catalog

CVE-2026-84449

LowCVSS 3.7
Published: Updated: Translated: NVD NIST

Summary

libheif, a HEIF and AVIF decoder and encoder, prior to 1.19.6 has an integer overflow in the width field of Op_RGB24_32_to_YCbCr::convert_colorspace() for extremely large RGB images. This causes an invalid input pointer and an out-of-bounds read during RGB-to-YCbCr conversion, potentially crashing the encoding process.

Risk Assessment

Processing a specially crafted, very large RGB image can crash an application using libheif, leading to a denial of service. In some cases, it may also result in memory disclosure.

Recommendation

Update libheif to version 1.19.6 or later. Avoid processing untrusted RGB images with extremely large dimensions until the update is applied.

Other vulnerabilities in libheif

See all
Original NVD description (English source)

libheif is a HEIF and AVIF file format decoder and encoder. Prior to 1.19.6, Op_RGB24_32_to_YCbCr::convert_colorspace() stores image-plane strides in an integer width that can overflow for extremely large RGB images created through heif_image_create() and heif_image_add_plane(). The resulting wrapped stride causes the conversion loop in libheif/color-conversion/rgb2yuv.cc to compute an invalid input pointer and read beyond the allocated interleaved plane while heif_context_encode_image() performs RGB-to-YCbCr conversion. This can crash the encoding process. This issue is fixed in version 1.19.6.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS