GHSA-wgh9-5fmg-v8fqHighCVSS 6.5
libheif 1.20.0 before 1.23.4 contains a memory leak vulnerability in Track:...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (7)
- https://github.com/strukturag/libheif/security/advisories/GHSA-4rv4-953r-p24q
- https://nvd.nist.gov/vuln/detail/CVE-2026-142494
- https://github.com/strukturag/libheif/commit/3d9c246a778249d0dc6581a407f83433bcad6ca6
- https://github.com/strukturag/libheif/blob/v1.23.3/libheif/sequences/track.cc#L1230-L1266
- https://github.com/strukturag/libheif/releases/tag/v1.23.4
- https://www.vulncheck.com/advisories/libheif-1.20.0-before-1.23.4-memory-leak-in-raw-sequence-sample-api
- https://github.com/advisories/GHSA-wgh9-5fmg-v8fq