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 trend (30 days)EPSS over the last 30 days for CVE-2017-6887: held from 0.016 to 0.016.

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

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.