CVE-2026-142496: strukturag libheif · Uncontrolled Recursion
Affects strukturag libheifSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 1.23.4 soon.
Data as of 2 Dec 2026, 18:03 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
- Patch
- Available – fixed in 1.23.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade strukturag libheif to 1.23.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| strukturaglibheif | Affected
| Fixed in
|
GitHublibheifpkg:github/libheifOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in libheif version 1.23.4. Users and maintainers should upgrade to version 1.23.4 or later to remediate this vulnerability.
Description
libheif versions from 1.16.0 up to but not including 1.23.4 contain an uncontrolled recursion vulnerability in the function HeifFile::check_for_ref_cycle_recursion(). This flaw allows attackers to craft HEIF or AVIF files with a long linear chain of 'dimg' references that cause stack exhaustion and crash the process during file reading.
References
- github.com/strukturag/libheif/security/advisories/GHSA-xrp2-63fq-jm8q (opens in a new tab)
- github.com/strukturag/libheif/commit/b1e4d72a492a2d7be6d1c29153660cb91e570556 (opens in a new tab)
- github.com/strukturag/libheif/commit/7538a4f3f13a26a948f083610016e527f9b12fb5 (opens in a new tab)
- github.com/strukturag/libheif/releases/tag/v1.23.4 (opens in a new tab)
- github.com/strukturag/libheif/blob/v1.23.3/libheif/file.cc (opens in a new tab)
- vulncheck.com/advisories/libheif-1.16.0-before-1.23.4-uncontrolled-recursion-in-reference-cycle-check (opens in a new tab)