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

EPSS: 0.016 (72.7th percentile) — read the EPSS interpretation.

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.

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.