Buffer overflow in LibRaw - CVE-2017-6886

 

Buffer overflow in LibRaw - CVE-2017-6886

Published: May 16, 2017 / Updated: July 28, 2020


Vulnerability identifier: #VU32071
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-6886
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

An error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be exploited to corrupt memory.


Affected software

LibRaw
libraw (Alpine package)
mingw-LibRaw
Fedora

How to mitigate CVE-2017-6886

Install update from vendor's website.

LibRaw - update to 0.18.2
libraw (Alpine package) - update to 0.17.2-r1
mingw-LibRaw - update to 0.18.2-2.fc26

External References

Related Security Bulletins