libheif 1.22.0 before 1.23.4 Heap Out-of-Bounds Read in AOM and x265 Encoders
- CVE-2026-142498
- GHSA-3mr9-25qp-xhg8
- EUVD-2026-141726
Description
libheif 1.22.0 before 1.23.4 contains a heap out-of-bounds read vulnerability in aom_encode_sequence_frame() and x265_encode_sequence_frame() 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.
Text from the CVE.org record.
Recommendation
strukturag libheif
- If you run a version from 1.22.0 to before 1.23.4update to 1.23.4 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
strukturag libheif
Affected versions Fixed in from 1.22.0 to before 1.23.4 1.23.4
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.