libheif 1.20.0 before 1.23.4 Memory Leak in Raw Sequence Sample API
- CVE-2026-142494
- GHSA-wgh9-5fmg-v8fq
- 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.
Text from the CVE.org record.
Recommendation
strukturag libheif
- If you run a version from 1.20.0 to before 1.23.4update to 1.23.4 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
strukturag libheif
Affected versions Fixed in from 1.20.0 to before 1.23.4 1.23.4
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.