CVE-2026-142497
Deferred Deferred - Pending Action

Deadlock in libheif HEIF Grid File Decoding

Vulnerability report for CVE-2026-142497, 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.22.0 before 1.23.4 contains a deadlock vulnerability in ImageItem::decode_image() that allows attackers to hang decoding by supplying a crafted HEIF grid file. Grid tiles referencing each other as alpha auxiliary images cause worker threads to acquire item mutexes in opposite order, blocking the process permanently.

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-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

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

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-833 The product contains multiple threads or executable segments that are waiting for each other to release a necessary lock, resulting in deadlock.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a deadlock issue in libheif versions 1.22.0 through 1.23.3. It occurs when a crafted HEIF grid file contains grid tiles that reference each other as alpha auxiliary images. This causes worker threads to acquire item mutexes in opposite orders, leading to a permanent deadlock that halts the decoding process.

Detection Guidance

Detecting this vulnerability requires checking the installed version of libheif. Run: libheif-info --version or dpkg -l libheif1. If the version is below 1.23.4, the system is vulnerable. Additionally, monitor for system hangs when processing HEIF files, especially those with grid structures.

Impact Analysis

The vulnerability can cause a denial of service by hanging the decoding process indefinitely. Applications using libheif, such as image viewers or editors, may become unresponsive when processing malicious files. No data is lost or corrupted, but the system may need to be restarted to recover.

Compliance Impact

This vulnerability causes a denial of service by permanently hanging the decoding process, which could disrupt systems processing image files. For GDPR, this may impact availability of personal data processing. For HIPAA, it could interrupt systems handling protected health information. However, the vulnerability does not directly lead to data breaches or unauthorized access.

Mitigation Strategies

Upgrade libheif to version 1.23.4 or later immediately. If upgrading is not possible, disable parallel grid tile decoding by setting ENABLE_PARALLEL_TILE_DECODING=OFF during compilation or avoid processing untrusted HEIF files until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142497. 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...