CVE Catalog

CVE-2026-142496

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.73%

56th percentile - higher than 56% of all known CVEs

Summary

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.

Risk Assessment

This can cause a crash of the HEIF/AVIF processing application, leading to denial of service.

Recommendation

Update libheif to version 1.23.4 or later. Avoid processing untrusted files without proper safeguards.

Other vulnerabilities in libheif

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS