Vulnerabilities / CVE-2026-84383

critical

CVE-2026-84383

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

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

Red Hat7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by Red Hat.

Description

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 different bit depths to m_storage. HeifPixelImage::scale_nearest_neighbor() in libheif/image/pixelimage.cc allocates the destination Alpha plane using the first plane's 8-bit depth, then iterates a later 10-bit or 12-bit Alpha component and writes uint16_t samples into the same 8-bit allocation. The output geometry controls the overflow extent and the encoded sample values control the data written, allowing a remote file processed by heif_decode_image() to cause a heap out-of-bounds write. This issue is fixed in version 1.23.2.

Affected packages and fixed versions

SourcePackageFixed in
debian 11libheifno fix listed
debian 14libheif1.23.2-1
minimoslibheif1.23.2-r0
rapidfort alpine 3.20libheif1.23.4-r0
rapidfort alpine 3.21libheif1.23.4-r0
rapidfort alpine 3.22libheif1.23.4-r0
rapidfort alpine 3.23libheif1.23.4-r0
rapidfort alpine 3.24libheif1.23.4-r0
rapidfort debian 12libheif, rf-libheif0:1.23.2-1
rapidfort debian 13libheif, rf-libheif0:1.23.2-1
rapidfort fedora 43libheif, libheif-devel, libheif-tools0:1.23.5-3.fc43 and 1 more
rapidfort Oracle Linux 10libheif, libheif-devel, libheif-tools1.23.5-3.el10_2
Show all 21 entries from 13 sources
SourcePackageFixed in
debian 11libheifno fix listed
debian 14libheif1.23.2-1
minimoslibheif1.23.2-r0
rapidfort alpine 3.20libheif1.23.4-r0
rapidfort alpine 3.21libheif1.23.4-r0
rapidfort alpine 3.22libheif1.23.4-r0
rapidfort alpine 3.23libheif1.23.4-r0
rapidfort alpine 3.24libheif1.23.4-r0
rapidfort debian 12libheif0:1.23.2-1
rapidfort debian 12rf-libheif0:1.23.2-1
rapidfort debian 13libheif0:1.23.2-1
rapidfort debian 13rf-libheif0:1.23.2-1
rapidfort fedora 43libheif0:1.23.5-3.fc43
rapidfort fedora 43libheif-devel1.23.5-3.fc43
rapidfort fedora 43libheif-tools1.23.5-3.fc43
rapidfort Oracle Linux 10libheif1.23.5-3.el10_2
rapidfort Oracle Linux 10libheif-devel1.23.5-3.el10_2
rapidfort Oracle Linux 10libheif-tools1.23.5-3.el10_2
rapidfort Oracle Linux 9libheif1.23.5-1.el9
rapidfort Oracle Linux 9libheif-devel1.23.5-1.el9
rapidfort Oracle Linux 9libheif-tools1.23.5-1.el9

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.