REDHAT-BUG-2479969: High severity AOMedia libheif vulnerability
libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap-buffer-overflow (write) vulnerability in the grid tile compositing, allowing an attacker to write 64 bytes of fully attacker-controlled data past the end of a chroma plane heap allocation by crafting a HEIF/AVIF file with a 1×4 grid of odd-height tiles. The overflow is triggered during normal image decoding with default build configuration. The written bytes are chroma (Cb/Cr) pixel values from the attacking tile, giving the attacker full control over the overflow content. This issue has been fixed in version 1.22.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
libheifto a version that resolves this vulnerability.Fixed in 1.22.0
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2479969?
The severity of REDHAT-BUG-2479969 is classified as high, with a score of 7.
What does REDHAT-BUG-2479969 vulnerability affect?
REDHAT-BUG-2479969 affects the AOMedia libheif library, which is used for HEIF and AVIF file format decoding and encoding.
How do I fix REDHAT-BUG-2479969?
To fix REDHAT-BUG-2479969, you should update to a version of libheif that is later than 1.21.2.
What type of vulnerability is identified in REDHAT-BUG-2479969?
REDHAT-BUG-2479969 identifies a heap-buffer-overflow (write) vulnerability in the grid tile compositing process.
What can happen if REDHAT-BUG-2479969 is exploited?
If exploited, REDHAT-BUG-2479969 allows an attacker to write 64 bytes of controlled data beyond the end of a heap allocation, potentially leading to application crashes or arbitrary code execution.