CVE-2026-142500: libheif 1.22.0 before 1.23.6 Memory Exhaustion via unci Decompressed Tile Data

Published Dec 2, 2026
·
Updated

libheif 1.22.0 before 1.23.6 contains a memory exhaustion vulnerability in the uncompressed (unci) codec that bypasses the maxtotalmemory limit for imagetile compressed units. Attackers can supply a crafted 22 KB HEIF file whose tiles are re-inflated per component, causing multi-gigabyte allocations that exhaust memory in the decoding application.

Affected Software

1 affected component
libheif libheif>=1.22.0<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 deployments are affected?

Applications using libheif versions from 1.22.0 up to, but not including, 1.23.6 are affected when they decode HEIF content using the uncompressed (unci) codec.

2

What must an attacker do to trigger the issue?

An attacker must provide a crafted HEIF file and have it processed by the decoding application. The supplied data indicates user interaction is required, such as inducing a user or workflow to decode the file.

3

Does configuring max_total_memory prevent exploitation?

No. The vulnerability bypasses the max_total_memory limit for image_tile compressed units, allowing tile data to be re-inflated per component and consume multi-gigabyte amounts of memory.

4

What is the remediation?

Upgrade libheif to version 1.23.6 or later. The available information identifies 1.23.6 as the release containing the fix.

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