CVE-2026-142496
Published:December 02, 2026
Updated:December 03, 2026
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 Packages
libheif (CONAN):
Affected version(s) >=1.16.2 <1.23.4Fix Suggestion:
Update to version 1.23.4libheif (CONDA):
Affected version(s) >=1.16.1 <1.23.4Fix Suggestion:
Update to version 1.23.4https://github.com/strukturag/libheif.git (GITHUB):
Affected version(s) >=v1.16.0 <v1.23.4Fix Suggestion:
Update to version v1.23.4Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Recursion
EPSS
Base Score:
0.73