CVE-2026-84383 Details
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.
A heap buffer overflow vulnerability has been identified in libheif, a library for decoding and encoding HEIF and AVIF file formats. This vulnerability exists in versions 1.22.0 prior to 1.23.2. The issue arises in the HeifPixelImage class, specifically within the transfer_channel_from_image_as() method. The vulnerability can be exploited by a crafted HEIF, HEIC, or AVIF file that uses nested iden and auxl references to create a scenario where duplicate Alpha planes with varying bit depths are appended to the image storage. When the scale_nearest_neighbor() function is called, it allocates the destination Alpha plane based on the first plane's 8-bit depth, but then writes 10-bit or 12-bit samples into the 8-bit allocation. This mismatch leads to a heap out-of-bounds write, with the overflow size and written values being controllable by the attacker through the file's ISOBMFF container and HEVC bitstream content. The vulnerability can be triggered by processing the crafted file with the heif_decode_image() function, without the need for special API options or unusual calling patterns.
Users are advised to upgrade to libheif version 1.23.2, which addresses this vulnerability by rejecting duplicate Alpha planes and validating item sizes to prevent such exploitation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 18, 2026CISA-ADP
Assessed Sep 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/strukturag/libheif/security/advisories/GHSA-g89c-p67h-r497 | CISA-ADP | AdvisoryBundleExploitRemedyVendor |
| https://github.com/strukturag/libheif/commit/f4fb8bde4704ebb46e46ff9fb94407c9774153b2 | [email protected] | Source CodeVendor |
| https://github.com/strukturag/libheif/releases/tag/v1.23.2 | [email protected] | Release NotesVendor |
| https://github.com/strukturag/libheif/security/advisories/GHSA-g89c-p67h-r497 | [email protected] | AdvisoryBundleExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libheif | >= 1.22.0, <= 1.23.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 18, 2026 | New CVE Received | [email protected] |
| Sep 18, 2026 | CVE Modified | CISA-ADP |
Volerion