CVE-2017-6887Improper Restriction of Operations within the Bounds of a Memory Buffer in Libraw

Severity
7.8HIGHNVD
EPSS
0.5%
top 35.32%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMay 16
Latest updateMay 17

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.

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages4 packages

debiandebian/libraw< libraw 0.18.2-2 (bookworm)
Debianlibraw/libraw< 0.18.2-2+3
NVDlibraw/libraw0.18.1
CVEListV5libraw/libraw0.x prior to 0.18.2

Patches

🔴Vulnerability Details

2
GHSA
GHSA-3g72-9f6h-w6pf: A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common2022-05-17
OSV
CVE-2017-6887: A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common2017-05-16

📋Vendor Advisories

3
Ubuntu
LibRaw vulnerabilities2017-11-22
Red Hat
libraw: Boundary error in the parse_tiff_ifd()2017-05-11
Debian
CVE-2017-6887: libraw - A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common.c...2017

💬Community

4
Bugzilla
CVE-2017-6886 CVE-2017-6887 LibRaw: various flaws [epel-6]2017-05-17
Bugzilla
CVE-2017-6887 libraw: Boundary error in the parse_tiff_ifd()2017-05-17
Bugzilla
CVE-2017-6886 CVE-2017-6887 LibRaw: various flaws [fedora-all]2017-05-17
Bugzilla
CVE-2017-6886 CVE-2017-6887 mingw-LibRaw: various flaws [fedora-all]2017-05-17