CVE-2026-84444

Description

A flaw was found in libheif, a HEIF and AVIF file format decoder and encoder. When processing uncompressed tiled images with the WITH_UNCOMPRESSED_CODEC enabled, the heif_context_add_image_tile() function can accept a specially crafted image tile with mismatched dimensions. This can lead to an out-of-bounds write, allowing an attacker to copy controlled data beyond the heap output buffer, potentially resulting in arbitrary code execution.

Statement

This vulnerability is rated as Important impact because successful exploitation can allow heap memory corruption, leading to application crashes or potential arbitrary code execution without authentication. In Red Hat environments, libheif operates as a shared library for media rendering and image manipulation rather than an exposed network daemon, restricting exposure to applications actively processing untrusted files. Furthermore, exploitation requires that uncompressed codec features are utilized and processing mismatched image tiles, contributing to higher attack complexity.

Mitigation

To mitigate this vulnerability, users should avoid processing untrusted HEIF or AVIF image files with applications linked against libheif. Restricting the handling of such files to trusted sources can reduce the risk of exploitation.

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.