Buffer overflow in LibRaw - CVE-2017-6887

 

Buffer overflow in LibRaw - CVE-2017-6887

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


Vulnerability identifier: #VU32072
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-6887
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: LibRaw LLC
Affected software:
LibRaw

Detailed vulnerability description

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.


How to mitigate CVE-2017-6887

Install update from vendor's website.

Sources