Use-after-free in libheif - CVE-2023-49464
Published: December 20, 2023
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error within the UncompressedImageCodec::get_luma_bits_per_pixel_from_configuration_unci() function. A remote attacker can trick the victim to open a specially crafted media file, trigger a use-after-free error and execute arbitrary code on the system.
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.
Affected software
Ubuntu
Fedora
heif-gdk-pixbuf (Ubuntu package)
libheif-dev (Ubuntu package)
libheif1 (Ubuntu package)
libheif-plugin-libde265 (Ubuntu package)
libheif
How to mitigate CVE-2023-49464
heif-gdk-pixbuf (Ubuntu package) - addressed in versions Ubuntu Pro, 1.16.2-2ubuntu1.1
libheif-dev (Ubuntu package) - addressed in versions Ubuntu Pro, 1.16.2-2ubuntu1.1
libheif1 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.16.2-2ubuntu1.1
libheif-plugin-libde265 (Ubuntu package) - update to 1.16.2-2ubuntu1.1
libheif - update to 1.17.5-1.fc40