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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 02 Dec 2026 18:00:00 +0000

Type Values Removed Values Added
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.
Title libheif 1.16.0 before 1.23.4 Uncontrolled Recursion in Reference Cycle Check
First Time appeared Struktur
Struktur libheif
Weaknesses CWE-674
CPEs cpe:2.3:a:struktur:libheif:*:*:*:*:*:*:*:*
Vendors & Products Struktur
Struktur libheif
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-02T19:26:26.822Z

Reserved: 2026-12-02T17:20:48.032Z

Link: CVE-2026-142496

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-12-02T18:19:01.863

Modified: 2026-12-02T20:20:48.567

Link: CVE-2026-142496

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses