P3 · MediumCVSS 6.5EPSS 0.7%
libheif 1.16.0 before 1.23.4 Uncontrolled Recursion in Reference Cycle Check
- CVE-2026-142496
- GHSA-6w73-pwq9-4vp2
- EUVD-2026-141728
Description
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.
Text from the CVE.org record.
Recommendation
strukturag libheif
- If you run a version from 1.16.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.16.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.