{"id":"CVE-2026-142498","summary":"libheif 1.22.0 before 1.23.4 Heap Out-of-Bounds Read in AOM and x265 Encoders","details":"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.","aliases":["GHSA-fqpw-fj22-78w4"],"modified":"2026-12-02T19:00:12.986743044Z","published":"2026-12-02T17:42:29.812Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142498.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142498.json"},{"type":"PACKAGE","url":"https://github.com/strukturag/libheif"},{"type":"ARTICLE","url":"https://github.com/strukturag/libheif/blob/v1.23.3/libheif/plugins/encoder_aom.cc#L1250-L1312"},{"type":"FIX","url":"https://github.com/strukturag/libheif/commit/51360e193a1288f54592aa6fc0b7037160636514"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/releases/tag/v1.23.4"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/security/advisories/GHSA-fqpw-fj22-78w4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142498"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libheif-1.22.0-before-1.23.4-heap-out-of-bounds-read-in-aom-and-x265-encoders"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strukturag/libheif","events":[{"introduced":"0c81a846b7401dbdb7118afd0761057f21e43511"},{"fixed":"4e14f5942c1732ace9611b9522cc991501445463"},{"fixed":"51360e193a1288f54592aa6fc0b7037160636514"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"1.22.0"},{"fixed":"1.23.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"51360e193a1288f54592aa6fc0b7037160636514"}]},{"original_tag":"v1.23.4","range":[{"fixed":"4e14f5942c1732ace9611b9522cc991501445463"}],"source":"REFERENCES_TAG"}]}}],"versions":["v1.23.3","v1.23.2","v1.23.1","v1.23.0","v1.22.2","v1.22.1","v1.22.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142498.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}