CVE Professor
/
All CVEs
CVE-2026-142496

CVE-2026-142496 — Strukturag Libheif — CWE-674

MEDIUM CVSS 7.1 Shodan

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.

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.

CVSS v4.0 Vector Metrics
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
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction Passive UI:P
Vuln. Conf. None VC:N
Vuln. Integrity None VI:N
Vuln. Avail. High VA:H
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-142496
CVSS 7.1/10 · MEDIUM · 02.12.2026
CWE: CWE-674
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
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
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.
Affected: strukturag libheif

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · user interaction required (UI:R) · low attack complexity (AC:L).

🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); service can be completely taken down.

🛡️ REMEDIATION
→ Apply vendor security update for strukturag libheif.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="strukturag libheif"
CVSS Score
7.1 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-674
Affected Products (1)
strukturag:libheif
Related CVEs
7.1
CVE-2026-144601
pg_hint_plan through 1.9.0 contains an uncontrolled recursion vulnerability in parse_parentheses_Leading_in th
5.3
CVE-2026-145166
domutils 1.0.0 before 4.1.0 contains an uncontrolled recursion vulnerability in findOne(), existsOne() and get
5.3
CVE-2026-145167
domutils 1.1.0 before 4.1.0 contains an uncontrolled recursion vulnerability in getText(), textContent() and i
7.5
CVE-2026-138703
In Telerik.DataSource, versions prior to v4.1.2, an uncontrolled recursion vulnerability exists in the text fi
8.7
CVE-2026-142040
An uncontrolled recursion vulnerability in WatchGuard Endpoint Security's OLE2 compound file directory parsing
7.5
CVE-2026-142198
NCalc before 7.6.0 contains an uncontrolled recursion vulnerability that allows attackers to crash the host pr
7.5
CVE-2026-142212
YamlDotNet through 18.1.0 contains an uncontrolled recursion vulnerability in YamlSequenceNode and YamlMapping