Buffer overflow in Libraw
CVE-2017-6887
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.016 (74.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 74.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: 0.000
Affected products
- Libraw — versions 0.x prior to 0.18.2
Weakness classification (CWE)
References
- www.securityfocus.com/bid/98592 (VDB Entry, Third Party Advisory, vdb-entry)
- secuniaresearch.flexerasoftware.com/secunia_research/2017-6/ (Permissions Required, Third Party Advisory)
- secuniaresearch.flexerasoftware.com/advisories/75737/ (Permissions Required, Third Party Advisory)
- www.debian.org/security/2017/dsa-3950 (vendor-advisory)
- github.com/LibRaw/LibRaw/commit/d7c3d2cb460be10a3ea7b32e9443a83c243b2251 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2017-6887?
- CVE-2017-6887 is a high-severity vulnerability in Libraw, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.8/10. Published 2017-05-16.
- How severe is CVE-2017-6887?
- High severity. CVSS v3 base score is 7.8 out of 10.