A vulnerability in libheif allows an attacker to execute arbitrary code by tricking a user or automated system into opening a specially crafted HEIF image file. This issue was discovered by Alex Thomas and affects multiple versions of libheif. The vulnerability can cause the program to crash or run code with the privileges of the user opening the file. A patch is available and updating to version 1.21.2-3ubuntu0.7 or later resolves the issue.