Skip to content
Fencer Intel
high 7.8

CVE-2017-6887 json

A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be exploited to ca…

published 2017-05-16 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-15941

cvss
7.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.6%
EPSS 1.6% chance of exploitation in 30 days, percentile 75%
public exploits
0
none known

Summary

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.

Patch / fix

  • libraw Debian 14, Debian 13, Debian 12 0.18.2-2

debian advisories DEBIAN-CVE-2017-6887

  • libraw Ubuntu 14.04 LTS 0.15.4-1ubuntu0.1
  • libraw Ubuntu 16.04 LTS 0.17.1-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2017-6887

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libraw SLED 12 SP3, SLED 12 SP2, SLE Workstation Extension 12 SP3 +3 more 0.15.4-9.2

suse advisories SUSE-SU-2017:2300-1

  • libraw openSUSE Tumbleweed 0.20.2-4.1

opensuse advisories openSUSE-SU-2024:10980-1

  • libraw Alpine 3.6, Alpine 3.5, Alpine 3.4 +1 more 0.17.2-r1

alpine advisories ALPINE-CVE-2017-6887

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-6887 updated cvss 3.3

libraw: Boundary error in the parse_tiff_ifd()

  • Red Hat Enterprise Linux 7 LibRaw
    affected: no fix planned “Will not fix”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.56% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products

  • LibRaw LibRaw

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.