CVE-2026-84383strukturag libheif
Heap out-of-bounds write in libheif processing nested HEIF/AVIF files
Critical 9.8 No auth needed
Follow: this CVE · strukturag · strukturag libheif We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Sep 18, 2026
- Updated
- Sep 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
libheif versions 1.22.0 through 1.23.1 contain a heap out-of-bounds write vulnerability when processing HEIF, HEIC, or AVIF files with nested references. A remote attacker can send a crafted file that triggers a buffer overflow during image decoding via heif_decode_image(), potentially enabling arbitrary code execution.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 1.23.2
Update libheif to version 1.23.2 or later.
- Apply the vendor's security update for libheif.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- strukturag · libheif
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for libheif · SUSE · SUSE-SU-2026:4276-1 · Sep 21, 2026 Critical
- Security update for libheif · SUSE · openSUSE-SU-2026:21889-1 · Sep 20, 2026 Critical
- gdk-pixbuf-loader-libheif-1.23.4-1.1 on GA media · SUSE · openSUSE-SU-2026:11719-1 · Sep 8, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.