CVE-2017-6887 Memory corruption in LibRaw
A boundary error in LibRaw allows attackers to cause memory corruption and potentially execute code via a crafted KDC file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-6887?
CVE-2017-6887 is a high-severity memory corruption vulnerability in Libraw Libraw, published on 16 May 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-119
Which versions are affected by CVE-2017-6887?
It affects 1 product.
Products include Libraw Libraw.
How do I fix CVE-2017-6887?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2017-6887 being exploited?
There is no known exploitation of CVE-2017-6887 in the wild and no public exploit code.
Other vulnerabilities in Libraw Libraw
Sources
Also known as ALPINE-CVE-2017-6887, DEBIAN-CVE-2017-6887, GHSA-3g72-9f6h-w6pf, UBUNTU-CVE-2017-6887.