CVE-2026-142496

MEDIUMCVSS 6.5/10

Last modified

CVE-2026-142496 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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..

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.

Metrics

Weakness Enumeration

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2026-142496?
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.
How severe is CVE-2026-142496?
CVE-2026-142496 has a CVSS score of 6.5/10 (MEDIUM severity).
How do I fix CVE-2026-142496?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-142496?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST