CVE-2026-142494
Deferred Deferred - Pending Action

Memory Leak in libheif Image Processing Library

Vulnerability report for CVE-2026-142494, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VulnCheck

Description

libheif 1.20.0 before 1.23.4 contains a memory leak vulnerability in Track::get_next_sample_raw_data() that allows attackers to exhaust process memory by supplying a crafted HEIF image sequence. Attackers can trigger error paths via 'saiz'/'saio' auxiliary data or TAI timestamps, or oversized 'stsz' samples, leaking sample copies or aborting the process through uncaught std::bad_alloc.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
strukturag libheif From 1.20.0 (inc) to 1.23.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-142494 is a memory leak vulnerability in libheif versions 1.20.0 through 1.23.3. It occurs in the Track::get_next_sample_raw_data() function where memory allocated for raw sequence samples is not properly freed during error conditions. Attackers can exploit this by providing a crafted HEIF image sequence, causing memory exhaustion or process termination.

Detection Guidance

Detecting this vulnerability requires checking the installed version of libheif. Use the command 'heif-info --version' or 'dpkg -l | grep libheif' on Debian-based systems to verify if your version is below 1.23.4. Inspect HEIF files processed by applications using libheif for crashes or memory exhaustion during sequence handling.

Impact Analysis

This vulnerability can cause denial of service by exhausting system memory when processing malicious HEIF files. Applications using libheif for sequence iteration, such as heif-dec with the --sequence flag, may crash or become unresponsive. No confidentiality or integrity impact is expected.

Mitigation Strategies

Upgrade libheif to version 1.23.4 or later immediately. If upgrading is not possible, avoid processing untrusted HEIF files, especially those with sequences or auxiliary data like 'saiz'/'saio'. Disable applications using the vulnerable C API functions such as heif_track_get_next_raw_sequence_sample().

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142494. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...