Skip to content
OpenAdvisories
Unscored CVE-2017-6887 EUVD-2017-15941GHSA-3g72-9f6h-w6pf

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 May 16, 2017 · Updated Aug 5, 2024 · Assigned by flexera

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.

Affected products

VendorProductAffectedFixed
LibRaw LibRaw 0.x prior to 0.18.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libraw 0.18.2-2 —
Debian 13 libraw 0.18.2-2 —
Debian 12 libraw 0.18.2-2 —
Debian 9 libraw 0.17.2-6+deb9u1 DSA-3950-1
Debian 8 libraw 0.16.0-9+deb8u3 DSA-3950-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 libraw 0.14.6-2+deb7u2 DLA-1057-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 kodi +4 No fix yet —
Ubuntu 26.04 LTS kodi +4 No fix yet —
Ubuntu 25.10 kodi +4 No fix yet —
Ubuntu 24.04 LTS kodi +4 No fix yet —
Ubuntu 22.04 LTS kodi +4 No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS kodi +4 No fix yet —
Ubuntu 18.04 LTS kodi +5 No fix yet —
Ubuntu 16.04 LTS kodi +5 No fix yet —
Ubuntu 16.04 LTS libraw 0.17.1-1ubuntu0.1 USN-3492-1
Ubuntu 14.04 LTS libraw 0.15.4-1ubuntu0.1 USN-3492-1
ReleasePackageFixed inAdvisory
SLES 12 SP3 libraw 0.15.4-9.2 SUSE-SU-2017:2300-1
SLES 12 SP2 libraw 0.15.4-9.2 SUSE-SU-2017:2300-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libraw 0.20.2-4.1 openSUSE-SU-2024:10980-1
ReleasePackageFixed inAdvisory
Alpine v3.6 libraw 0.17.2-r1 —
Alpine v3.5 libraw 0.17.2-r1 —
Alpine v3.4 libraw 0.17.2-r1 —
Alpine v3.3 libraw 0.17.2-r1 —

Advisories 5

References