{"id":"CVE-2026-142494","summary":"libheif 1.20.0 before 1.23.4 Memory Leak in Raw Sequence Sample API","details":"libheif 1.20.0 before 1.23.4 contains a memory leak vulnerability in Track::get_next_sample_raw_data() 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::bad_alloc.","aliases":["GHSA-4rv4-953r-p24q"],"modified":"2026-12-02T19:00:15.659459212Z","published":"2026-12-02T17:42:34.193Z","database_specific":{"cwe_ids":["CWE-401"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142494.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142494.json"},{"type":"PACKAGE","url":"https://github.com/strukturag/libheif"},{"type":"ARTICLE","url":"https://github.com/strukturag/libheif/blob/v1.23.3/libheif/sequences/track.cc#L1230-L1266"},{"type":"FIX","url":"https://github.com/strukturag/libheif/commit/3d9c246a778249d0dc6581a407f83433bcad6ca6"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/releases/tag/v1.23.4"},{"type":"ADVISORY","url":"https://github.com/strukturag/libheif/security/advisories/GHSA-4rv4-953r-p24q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142494"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libheif-1.20.0-before-1.23.4-memory-leak-in-raw-sequence-sample-api"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strukturag/libheif","events":[{"introduced":"a6d433aef7c854ce3fcdb7662b55f8bbcaca36c2"},{"fixed":"4e14f5942c1732ace9611b9522cc991501445463"},{"fixed":"3d9c246a778249d0dc6581a407f83433bcad6ca6"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.20.0"},{"fixed":"1.23.4"}]},{"range":[{"fixed":"3d9c246a778249d0dc6581a407f83433bcad6ca6"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"4e14f5942c1732ace9611b9522cc991501445463"}],"source":"REFERENCES_TAG","original_tag":"v1.23.4"}]}}],"versions":["v1.23.3","v1.23.2","v1.23.1","v1.23.0","v1.22.2","v1.22.1","v1.22.0","v1.21.2","v1.21.1","v1.21.0","v1.20.1","v1.20.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142494.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}