CVE-2026-142496

libheif 1.16.0 before 1.23.4 Uncontrolled Recursion in Reference Cycle Check

Published Dec 2, 2026 CVSS 4.0 · 7.1 High EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 2, 2026, 7:26 PM
Reserved
Dec 2, 2026, 5:20 PM
Status
Deferred
Published
Dec 2, 2026, 6:19 PM
Modified
Dec 2, 2026, 8:20 PM