CVE-2026-142496 libheif 1.16.0 before 1.23.4 Uncontrolled Recursion in Reference Cycle Check
HighCVSS 7.1
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| strukturag libheif | >= 1.16.0, < 1.23.4 | 1.23.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| strukturag libheif | >= 1.16.0, < 1.23.4 | 1.23.4 |
References
- GitHub Security Advisory (GHSA-xrp2-63fq-jm8q) exploit vendor-advisory
- github.com patch
- github.com patch
- libheif v1.23.4 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: libheif 1.16.0 before 1.23.4 Uncontrolled Recursion in Reference Cycle Check third-party-advisory
- ENISA EUVD EUVD-2026-141728 third-party-advisory
- nvd.nist.gov