CVE-2026-142496
libheif 1.16.0 before 1.23.4 Uncontrolled Recursion in Reference Cycle Check
- Severity
- high CVSS 7.1 (v4.0)
- Affects
- libheif · strukturag
- Weakness
- CWE-674: Uncontrolled Recursion
- Published
- 2 December 2026 by VulnCheck
libheif 1.16.0 before 1.23.4 contains an uncontrolled recursion vulnerability in HeifFile::check_for_ref_cycle_recursion() that allows attackers to crash the process via crafted files. Attackers can supply a HEIF or AVIF file under 1 MB with a long linear chain of 'dimg' references to exhaust the stack during heif_context_read_from_file(), causing a segmentation fault.
Our coverage
We have not written about this one. Know why it matters? Send a tip.