Buffer overflow in LibRaw - CVE-2017-6887
Published: May 16, 2017 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a local non-authenticated attacker to execute arbitrary code.
A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be exploited to cause a memory corruption via e.g. a specially crafted KDC file with model set to "DSLR-A100" and containing multiple sequences of 0x100 and 0x14A TAGs.
Affected software
libraw (Alpine package)
mingw-LibRaw
Fedora
How to mitigate CVE-2017-6887
libraw (Alpine package) - update to 0.17.2-r1
mingw-LibRaw - update to 0.18.2-2.fc26