Skip to content

CVE-2026-142496 libheif 1.16.0 before 1.23.4 Uncontrolled Recursion in Reference Cycle Check

HighCVSS 7.1
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
strukturag libheif >= 1.16.0, < 1.23.4 1.23.4 Fixed

Affected products

ProductAffected versionsFixed in
strukturag libheif >= 1.16.0, < 1.23.4 1.23.4

References