CVE-2026-142495: libheif 1.19.0 before 1.23.4 Resource Exhaustion via Unenforced iinf Item Limit

Published Dec 2, 2026
·
Updated

libheif 1.19.0 before 1.23.4 contains an allocation of resources without limits vulnerability in Boxiinf::parse() and Box::readchildren() that allows attackers to cause denial of service via crafted HEIF files. Attackers can declare a huge number of 'infe' items to trigger quadratic CPU time and gigabytes of heap usage, or overflow the WebAssembly stack in Emscripten builds.

Affected Software

1 affected component
libheif libheif>=1.19.0<1.23.4

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 exposed to the WebAssembly-specific impact?

Emscripten builds are specifically affected because a crafted HEIF file can overflow the WebAssembly stack. Other affected libheif deployments can experience quadratic CPU consumption and gigabytes of heap allocation.

2

What must an attacker do to trigger the denial of service?

An attacker needs to provide a crafted HEIF file that declares a huge number of infe items. Exploitation requires a user or application to process that file.

3

How can I determine whether my installation is affected?

Check the installed libheif version. Versions from 1.19.0 before 1.23.4 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