CVE-2026-142504: libheif before 1.23.6 Bit Depth Mismatch Leads to Out-of-Bounds Read

Published Dec 2, 2026
·
Updated

libheif before 1.23.6 fails to verify that decoded images match the bit depth reported by the image handle, causing out-of-bounds reads in calling applications. Attackers can supply crafted HEIF files with contradicting hvcC or av1C boxes, mixed-depth grid tiles, or iovl overlays to crash applications or disclose memory.

Affected Software

1 affected component
libheif libheif<1.23.6

Event History

Dec 2, 2026
CVE Published
via MITRE·05:42 PM
Data Sourced
via MITRE·05:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:19 PM
DescriptionSeverityWeakness
Event
via NVD·06:19 PM

Frequently Asked Questions

1

Which applications are exposed?

Applications that call libheif and process attacker-supplied HEIF files are exposed if they use a libheif version before 1.23.6. The out-of-bounds read occurs in the calling application.

2

What does an attacker need to exploit this issue?

An attacker needs to provide a crafted HEIF file and have it processed by the affected application. No privileges are required, but user interaction is required according to the supplied severity vector.

3

What types of files can trigger the issue?

The crafted HEIF file can contain contradicting hvcC or av1C boxes, mixed-bit-depth grid tiles, or iovl overlays. These inconsistencies can cause a crash or disclosure of memory.

4

How can I determine whether an installation is affected?

Check the libheif version used by the application. Versions before 1.23.6 are affected.

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