CVE-2026-142498: libheif 1.22.0 before 1.23.4 Heap Out-of-Bounds Read in AOM and x265 Encoders

Published Dec 2, 2026
·
Updated

libheif 1.22.0 before 1.23.4 contains a heap out-of-bounds read vulnerability in aomencodesequenceframe() and x265encodesequenceframe() that allows attackers to disclose heap memory via crafted images with mismatched luma and chroma bit depths. Attackers can supply a crafted 'unci' file with 10-bit luma and 8-bit chroma so re-encoding reads chroma rows at twice their width, leaking heap bytes into encoded output.

Affected Software

1 affected component
libheif libheif>=1.22.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 workflows are exposed to this issue?

Workflows that accept attacker-controlled uncompressed 'unci' images and re-encode them using the AOM or x265 encoder are exposed. The crafted input uses 10-bit luma with 8-bit chroma components.

2

What does an attacker need to do to exploit it?

An attacker needs to supply a crafted 'unci' file and cause the affected libheif instance to re-encode it. No privileges are required, but user interaction is required according to the supplied severity vector.

3

What is the practical impact of successful exploitation?

The out-of-bounds read can disclose heap memory because chroma rows are read at twice their actual width and the resulting data can be included in encoded output. The provided data indicates confidentiality impact only, with no integrity or availability impact.

4

What version should be used to remediate the issue?

Upgrade libheif to version 1.23.4 or later. The affected range is version 1.22.0 before 1.23.4.

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