CVE-2017-6887: libraw
Vulnerability summary
CVE-2017-6887 is a high (CVSS 7.8) vulnerability in libraw. EPSS estimates a 1.56% chance of exploitation in the next 30 days, higher than 76.1% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 3Timeline
- 16-05-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.56%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.56% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu7 products
- darktableAll versions (No fix recorded)
- dcrawAll versions (No fix recorded)
- exactimageAll versions (No fix recorded)
- kodiAll versions (No fix recorded)
- libraw< 0.15.4-1ubuntu0.1 | < 0.17.1-1ubuntu0.1
Alpine1 product
- libraw< 0.17.2-r1
Debian1 product
- libraw< 0.18.2-2
Libraw1 product
- libraw0.x prior to 0.18.2 | ≤ 0.18.1
4 vendors · 10 products
References
10 links- secuniaresearch.flexerasoftware.com/secunia_research/2017-6/X Refsource MISCPermissions RequiredThird Party AdvisoryREPORT
- secuniaresearch.flexerasoftware.com/advisories/75737/X Refsource MISCPermissions RequiredThird Party AdvisoryREPORT
- github.com/LibRaw/LibRaw/commit/d7c3d2cb460be10a3ea7b32e9443a83c243b2251X Refsource MISCPatchThird Party Advisory