Buffer overflow in libheif - CVE-2023-49462
Published: December 20, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in /libheif/exif.cc. A remote attacker can create a specially crafted media file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Debian Linux
Ubuntu
Fedora
heif-gdk-pixbuf (Ubuntu package)
libheif-dev (Ubuntu package)
libheif1 (Ubuntu package)
libheif (Debian package)
libheif-plugin-libde265 (Ubuntu package)
libheif
How to mitigate CVE-2023-49462
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 (Debian package) - update to 1.15.1-1+deb12u1
libheif-plugin-libde265 (Ubuntu package) - update to 1.16.2-2ubuntu1.1
libheif - update to 1.17.5-1.fc40