Impact
libheif, a library for decoding and encoding HEIF and AVIF image formats, contains a flaw classified as CWE‑125. The bug arises when the chunk list is shorter than the sample list; an out‑of‑bounds index is stored and later read, producing a heap overflow that corrupts memory in the library’s heap structures. The vulnerability does not directly provide code execution, but the resulting memory corruption could potentially be leveraged in conjunction with other weaknesses.
Affected Systems
All installations of strukturag’s libheif prior to version 1.22.0 are affected. Applications that link to libheif 1.21 or earlier are vulnerable; the fix was released in version 1.22.0. No other vendors or products are listed as impacted.
Risk and Exploitability
Based on the description, it is inferred that an attacker must supply a crafted HEIF or AVIF file to trigger the overflow during decoding. The CVSS score of 6.1 reflects moderate severity. The EPSS value of less than 1 % indicates that the vulnerability is currently unlikely to be widely exploited. It is not listed in the CISA KEV catalog. No public exploits have been reported, and updating to the patched release mitigates the issue.
OpenCVE Enrichment
Ubuntu USN