Stack-based buffer overflow in LibRaw - CVE-2018-5808
Published: December 24, 2018
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the find_green() function, as defined in the internal/dcraw_common.cpp source code file in LibRaw versions prior to 0.18.9. A remote attacker can trick the victim into processing a specially crafted input, trigger stack-based buffer overflow 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
Opensuse
libraw (Debian package)
How to mitigate CVE-2018-5808
libraw (Debian package) - update to 0.16.0-9+deb8u4