Buffer overflow in libexif - CVE-2012-2814
Published: December 21, 2016 / Updated: July 26, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing images in the exif_entry_format_value function in exif-entry.c in the EXIF Tag Parsing Library. A remote attacker can create crafted EXIF tags in an image, 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
Gentoo Linux
Amazon Linux AMI
SUSE Linux
Slackware Linux
libexif (Alpine package)
How to mitigate CVE-2012-2814
libexif (Alpine package) - update to 0.6.21-r0