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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142498.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "1.22.0"
},
{
"fixed": "1.23.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "51360e193a1288f54592aa6fc0b7037160636514"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.23.4",
"range": [
{
"fixed": "4e14f5942c1732ace9611b9522cc991501445463"
}
],
"source": "REFERENCES_TAG"
}
]
}