CVE-2026-142496: Vulnerability in Strukturag Libheif

Patch soon. 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.

CWE-674

Exploitation
None confirmed
Severity
6.5 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-6w73-pwq9-4vp2
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-674
Published
2 Dec 2026
Last change
2 Dec 2026

Affected products

Affected versions and the first fixed release

  • Strukturag Libheif From 1.16.0 before 1.23.4. Fixed in 1.23.4

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related