CVEfocus › CVE database › CVE-2017-6887

CVE-2017-6887

CVSS 7.8 HighEPSS 1.6% (higher than 76% of CVEs)Published 2017-05-16Updated 2024-08-05Assigner: flexera

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.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
8Fix pending
12Under investigation
32Will not fix
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10darktableFix pendingUBUNTU-CVE-2017-6887
Ubuntu 26.10dcrawFix pendingUBUNTU-CVE-2017-6887
Ubuntu 26.10exactimageFix pendingUBUNTU-CVE-2017-6887
Ubuntu 26.10kodiFix pendingUBUNTU-CVE-2017-6887
Ubuntu 26.10rawtherapeeFix pendingUBUNTU-CVE-2017-6887
Ubuntu 26.04darktableUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 26.04dcrawUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 26.04exactimageFix pendingUBUNTU-CVE-2017-6887
Ubuntu 26.04freeimageNot affected
vulnerable_code_not_present
Ubuntu 26.04graphicsmagickNot affected
vulnerable_code_not_present
Ubuntu 26.04kodiUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 26.04librawNot affected
vulnerable_code_not_present
Ubuntu 26.04rawtherapeeUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 25.10darktableWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 25.10dcrawWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 25.10exactimageWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 25.10freeimageNot affected
vulnerable_code_not_present
Ubuntu 25.10graphicsmagickNot affected
vulnerable_code_not_present
Ubuntu 25.10kodiWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 25.10librawNot affected
vulnerable_code_not_present
Ubuntu 25.10rawtherapeeWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 24.04darktableUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 24.04dcrawUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 24.04exactimageFix pendingUBUNTU-CVE-2017-6887
Ubuntu 24.04freeimageNot affected
vulnerable_code_not_present
Ubuntu 24.04kodiUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 24.04librawNot affected
vulnerable_code_not_present
Ubuntu 24.04rawtherapeeUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 22.04darktableUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 22.04dcrawUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 22.04exactimageFix pendingUBUNTU-CVE-2017-6887
Ubuntu 22.04freeimageNot affected
vulnerable_code_not_present
Ubuntu 22.04kodiUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 22.04librawNot affected
vulnerable_code_not_present
Ubuntu 22.04rawtherapeeUnder investigationUBUNTU-CVE-2017-6887
Ubuntu 20.04darktableWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 20.04dcrawWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 20.04exactimageWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 20.04freeimageNot affected
vulnerable_code_not_present
Ubuntu 20.04kodiWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 20.04librawNot affected
vulnerable_code_not_present
Ubuntu 20.04rawtherapeeWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 18.04darktableWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 18.04dcrawWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 18.04exactimageWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 18.04kodiWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 18.04rawtherapeeWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 18.04ufrawWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 16.04darktableWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 16.04dcrawWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 16.04exactimageWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 16.04freeimageNot affected
vulnerable_code_not_present
Ubuntu 16.04graphicsmagickNot affected
vulnerable_code_not_present
Ubuntu 16.04kodiWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 16.04librawFixed0.17.1-1ubuntu0.1UBUNTU-CVE-2017-6887
Ubuntu 16.04rawtherapeeWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 16.04ufrawWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
UBUNTU-CVE-2017-6887
Ubuntu 14.04darktableWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
Ubuntu 14.04dcrawWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
Ubuntu 14.04exactimageWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
Ubuntu 14.04librawFixed0.15.4-1ubuntu0.1UBUNTU-CVE-2017-6887
Ubuntu 14.04rawstudioWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
Ubuntu 14.04rawtherapeeWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
Ubuntu 14.04ufrawWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
Ubuntu 14.04xbmcWill not fix
All non-libraw packages listed here matched portions of the patch; an extensive analysis was not performed. same commit as CVE-2017-6886
Debian 14librawFixed0.18.2-2DEBIAN-CVE-2017-6887
Debian 13librawFixed0.18.2-2DEBIAN-CVE-2017-6887
Debian 12librawFixed0.18.2-2DEBIAN-CVE-2017-6887
Red Hat Enterprise Linux 7LibRawWill not fix
Will not fix
Red Hat Enterprise Linux 7LibRaw-develWill not fix
Will not fix
Red Hat Enterprise Linux 7LibRaw-staticWill not fix
Will not fix
Alpine Linux 3.6librawFixed0.17.2-r1ALPINE-CVE-2017-6887
Alpine Linux 3.5librawFixed0.17.2-r1ALPINE-CVE-2017-6887
Alpine Linux 3.4librawFixed0.17.2-r1ALPINE-CVE-2017-6887
Alpine Linux 3.3librawFixed0.17.2-r1ALPINE-CVE-2017-6887

What the vendor says

As published in the CVE record by flexera, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.