CVE-2026-142494: libheif 1.20.0 before 1.23.4 Memory Leak in Raw Sequence Sample API

Published Dec 2, 2026
·
Updated

libheif 1.20.0 before 1.23.4 contains a memory leak vulnerability in Track::getnextsamplerawdata() that allows attackers to exhaust process memory by supplying a crafted HEIF image sequence. Attackers can trigger error paths via 'saiz'/'saio' auxiliary data or TAI timestamps, or oversized 'stsz' samples, leaking sample copies or aborting the process through uncaught std::badalloc.

Affected Software

1 affected component
libheif libheif>=1.20.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?

Applications using libheif versions from 1.20.0 through versions before 1.23.4 are affected when they process attacker-controlled HEIF image sequences. The issue can exhaust memory or terminate the affected process.

2

What does an attacker need to exploit this?

An attacker needs to supply a crafted HEIF sequence that reaches the raw sequence sample processing path. The supplied vector indicates network reachability, no required privileges, low attack complexity, and required user interaction.

3

What version fixes the issue?

Upgrade libheif to version 1.23.4 or later. The available data does not identify a workaround for environments that cannot immediately upgrade.

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