Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.8

CVE-2026-84383: libheif can corrupt memory when decoding crafted images

CVE-2026-84383 · published 2 months ago
Summary

The libheif library used for HEIF and AVIF pictures (versions 1.22.0 through 1.23.2) can write past the end of its memory when it processes a specially crafted image file. This could cause the program that opens the image to behave unexpectedly or crash. Update libheif to version 1.23.2 or later to stop the issue.

What to do
  • Update debian libheif to version 1.23.2-1.
  • Update bellsoft libheif to version 1.23.4-r0.
Affected software
Ecosystem VendorProductAffected versions
Debian:14 debian libheif < 1.23.2-1
Fix: upgrade to 1.23.2-1
Ubuntu:Pro:18.04:LTS canonical libheif All versions
– strukturag libheif >= 1.22.0, < 1.23.2
Alpaquita:stream bellsoft libheif >= 1.20.2-r2, < 1.23.4-r0
Fix: upgrade to 1.23.4-r0
Original advisory text
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 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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.8 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-787Out-of-bounds Write
Timeline
Published18 Sep 2026
Updated26 Nov 2026
First seen4 Sep 2026
Track software like this
Free during beta