# CVE-2017-6887

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2017-05-16 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2017-6887, UBUNTU-CVE-2017-6887, DEBIAN-CVE-2017-6887
- Record: https://cvemate.com/vulnerability/CVE-2017-6887 · JSON: https://cvemate.com/vulnerability/CVE-2017-6887/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.0, NVD) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.561%, percentile 76.1%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libraw (Alpine Linux): \< 0.17.2-r1
- debian libraw (Debian): \< 0.18.2-2
- ubuntu darktable (Ubuntu): All versions (No fix recorded)
- ubuntu dcraw (Ubuntu): All versions (No fix recorded)
- ubuntu exactimage (Ubuntu): All versions (No fix recorded)
- ubuntu kodi (Ubuntu): All versions (No fix recorded)
- ubuntu libraw (Ubuntu): \< 0.15.4-1ubuntu0.1 \| \< 0.17.1-1ubuntu0.1
- ubuntu rawtherapee (Ubuntu): All versions (No fix recorded)
- ubuntu ufraw (Ubuntu): All versions (No fix recorded)
- libraw libraw: 0.x prior to 0.18.2 \| ≤ 0.18.1

## References

- <http://www.securityfocus.com/bid/98592>
- <https://secuniaresearch.flexerasoftware.com/secunia_research/2017-6/>
- <https://secuniaresearch.flexerasoftware.com/advisories/75737/>
- <http://www.debian.org/security/2017/dsa-3950>
- <https://github.com/LibRaw/LibRaw/commit/d7c3d2cb460be10a3ea7b32e9443a83c243b2251>
- <https://security.alpinelinux.org/vuln/CVE-2017-6887>
- <https://ubuntu.com/security/CVE-2017-6887>
- <https://ubuntu.com/security/notices/USN-3492-1>
- <https://www.cve.org/CVERecord?id=CVE-2017-6887>
- <https://security-tracker.debian.org/tracker/CVE-2017-6887>

---

Data as of 2026-12-05T04:54:47.594Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
