CVE-2026-142496: libheif 1.16.0 before 1.23.4 Uncontrolled Recursion in Reference Cycle Check
Vulnerability summary
CVE-2026-142496 is a high (CVSS 7.1) Uncontrolled Recursion vulnerability in strukturag libheif. EPSS estimates a 0.73% chance of exploitation in the next 30 days, higher than 55.4% of scored vulnerabilities.
Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 02-12-2026PublishedVulnerability first disclosed.
- 02-12-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 3 sources · 2 versions- NVDNIST7.1HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.73%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- libheif< 1.23.4-1~deb13u1 | < 1.23.4-1
Strukturag1 product
- libheif≥ 1.16.0, < 1.23.4
2 vendors · 2 products
References
7 links- github.com/strukturag/libheif/releases/tag/v1.23.4Release Notes
- github.com/strukturag/libheif/blob/v1.23.3/libheif/file.ccTechnical Description
- www.vulncheck.com/advisories/…Third Party Advisory