Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-142496 EUVD-2026-141728GHSA-6w73-pwq9-4vp2

libheif 1.16.0 before 1.23.4 Uncontrolled Recursion in Reference Cycle Check

Published Dec 2, 2026 · Updated Dec 2, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
strukturag libheif 1.16.0 – < 1.23.4 1.23.4

References