CVE-2026-142496
HIGH 7.1CVSS 4.0libheif 1.16.0 before 1.23.4 Uncontrolled Recursion in Reference Cycle Check
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-674
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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/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 |
| CVE List | VulnCheck | CVSS 4.0 | HIGH 7.1 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | strukturag | libheif | >= 1.16.0, < 1.23.4 | 1.23.4 |
References
- https://github.com/strukturag/libheif/blob/v1.23.3/libheif/file.cc#L661-L694 · technical-description
- https://github.com/strukturag/libheif/commit/7538a4f3f13a26a948f083610016e527f9b12fb5 · patch
- https://github.com/strukturag/libheif/commit/b1e4d72a492a2d7be6d1c29153660cb91e570556 · patch
- https://github.com/strukturag/libheif/releases/tag/v1.23.4 · release-notes
- https://github.com/strukturag/libheif/security/advisories/GHSA-xrp2-63fq-jm8q · vendor-advisory
- https://www.vulncheck.com/advisories/libheif-1.16.0-before-1.23.4-uncontrolled-recursion-in-reference-cycle-check · third-party-advisory
History
- 2 Dec 2026 20:26 UTC · NVD: 1 reference added
- 2 Dec 2026 19:51 UTC · CVE List: updated (other details)
- 2 Dec 2026 18:19 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 18:08 UTC · CVE List: first stored (published 2 Dec 2026)