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

Published Sep 18, 2026
·
Updated

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::transferchannelfromimageas() append duplicate Alpha planes with different bit depths to mstorage. HeifPixelImage::scalenearestneighbor() 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 uint16t 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 heifdecodeimage() to cause a heap out-of-bounds write. This issue is fixed in version 1.23.2.

Affected Software

1 affected component
libheif>=1.22.0<1.23.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libheif to a version that resolves this vulnerability.

    Fixed in 1.23.2

Event History

Sep 18, 2026
CVE Published
via MITRE·03:55 PM
Data Sourced
via MITRE·03:55 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Applications using libheif versions 1.22.0 through 1.23.1 are affected when they process attacker-controlled HEIF, HEIC, or AVIF files through heif_decode_image().

2

What does an attacker need to exploit this issue?

The attacker needs to supply a crafted image containing nested iden and auxl references that produce duplicate Alpha planes with different bit depths. No authentication or user interaction is required according to the provided severity vector.

3

What is the impact of processing a malicious file?

The crafted image can cause a heap out-of-bounds write during nearest-neighbor scaling. The output geometry controls the overflow extent, and encoded sample values control the data written.

4

How should this be remediated?

Upgrade libheif to version 1.23.2, which fixes the issue. If upgrading cannot happen immediately, avoid processing untrusted HEIF, HEIC, and AVIF files with affected libheif versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203