{"id":"CVE-2026-142494","aliases":["DEBIAN-CVE-2026-142494","EUVD-2026-141730","GHSA-4rv4-953r-p24q","GHSA-wgh9-5fmg-v8fq"],"status":"published","title":"libheif 1.20.0 before 1.23.4 Memory Leak in Raw Sequence Sample API","description":"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.","severity":{"version":"4.0","score":7.1,"vector":"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","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":7.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00676,"percentile":0.53641,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true,"poc_reported":true},"cwes":["CWE-401"],"published":"2026-12-02T17:42:34Z","modified":"2026-12-03T21:00:14Z","fixes":[{"ecosystem":"Debian:14","package":"libheif","fixed_in":["1.23.4-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:14","package":"libheif","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.23.4-1"}]}],"versions":["1.19.8-1","1.20.1-1","1.20.2-1","1.20.2-2","1.21.2-1","1.21.2-2","1.21.2-3","1.21.2-4","1.23.1-1","1.23.2-1","1.23.3-1","1.23.4-1~deb13u1"]}],"products":[{"vendor":"strukturag","product":"libheif"}],"references":[{"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-4rv4-953r-p24q","tags":["vendor-advisory","exploit","advisory"]},{"url":"https://github.com/strukturag/libheif/commit/3d9c246a778249d0dc6581a407f83433bcad6ca6","tags":["patch","fix"]},{"url":"https://github.com/strukturag/libheif/releases/tag/v1.23.4","tags":["release-notes","advisory"]},{"url":"https://github.com/strukturag/libheif/blob/v1.23.3/libheif/sequences/track.cc#L1230-L1266","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/libheif-1.20.0-before-1.23.4-memory-leak-in-raw-sequence-sample-api","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142494","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wgh9-5fmg-v8fq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142494.json","tags":["advisory"]},{"url":"https://github.com/strukturag/libheif","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-142494","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-142494","title":"libheif 1.20.0 before 1.23.4 Memory Leak in Raw Sequence Sample API","description":"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.","status":"published","published":"2026-12-02T17:42:34.193Z","modified":"2026-12-02T22:59:22.1Z","cvss":[{"version":"4.0","score":7.1,"vector":"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","level":"high","assessor":"cna"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-401"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T23:04:34.412859Z"}],"euvd":[{"id":"EUVD-2026-141730","description":"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.","status":"published","published":"2026-12-02T17:42:34Z","modified":"2026-12-02T22:59:22Z","cvss":[{"version":"4.0","score":7.1,"vector":"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","level":"high"}],"updated_at":"2026-12-02T21:27:22.841078Z"}],"ghsa":[{"id":"GHSA-wgh9-5fmg-v8fq","title":"libheif 1.20.0 before 1.23.4 contains a memory leak vulnerability in Track:...","description":"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.","status":"published","published":"2026-12-02T18:31:56Z","modified":"2026-12-02T18:32:04Z","cvss":[{"version":"4.0","score":7.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-401"],"updated_at":"2026-12-02T18:38:45.878671Z"}],"nvd":[{"id":"CVE-2026-142494","description":"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.","status":"published","published":"2026-12-02T18:19:01.523Z","modified":"2026-12-02T23:18:40.247Z","cvss":[{"version":"4.0","score":7.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-401"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T23:19:38.051602Z"}],"osv":[{"id":"CVE-2026-142494","title":"libheif 1.20.0 before 1.23.4 Memory Leak in Raw Sequence Sample API","description":"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.","status":"published","published":"2026-12-02T17:42:34.193Z","modified":"2026-12-03T21:00:14.938373379Z","cvss":[{"version":"4.0","score":7.1,"vector":"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","level":"high"}],"cwes":["CWE-401"],"updated_at":"2026-12-03T21:10:28.714974Z"},{"id":"DEBIAN-CVE-2026-142494","upstream":["CVE-2026-142494"],"description":"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.","status":"published","published":"2026-12-02T18:19:01.523Z","modified":"2026-12-03T21:00:07.943749089Z","cvss":[{"version":"4.0","score":7.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"}],"updated_at":"2026-12-03T21:10:28.714974Z"}]}}
