CVE-2017-6887
published 2017-05-16CVE-2017-6887: 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…
PriorityP336high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
1.56%
72.7th percentile
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
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libraw | < libraw 0.18.2-2 (bookworm) | libraw 0.18.2-2 (bookworm) |
| libraw | libraw | <= 0.18.1 | — |
| libraw | libraw | — | — |
| libraw | libraw | >= 0 < 0.18.2-2 | 0.18.2-2 |
| libraw | libraw | >= 0 < 0.18.2-2 | 0.18.2-2 |
| libraw | libraw | >= 0 < 0.18.2-2 | 0.18.2-2 |
| libraw | libraw | >= 0 < 0.18.2-2 | 0.18.2-2 |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-3g72-9f6h-w6pf: A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common
ghsa_unreviewed·2022-05-17
CVE-2017-6887 [HIGH] CWE-119 GHSA-3g72-9f6h-w6pf: A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common
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.
OSV
CVE-2017-6887: A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common
osv·2017-05-16·CVSS 7.8
CVE-2017-6887 [HIGH] CVE-2017-6887: A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common
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.
Ubuntu
LibRaw vulnerabilities
vendor_ubuntu·2017-11-22
CVE-2015-3885 LibRaw vulnerabilities
Title: LibRaw vulnerabilities
Summary: LibRaw could be made to crash or run programs as your login if it opened a
specially crafted file.
It was discovered that LibRaw incorrectly handled photo files. If a user or
automated system were tricked into processing a specially crafted photo
file, a remote attacker could cause applications linked against LibRaw
to crash, resulting in a denial of service, or possibly execute arbitrary
code
Instructions: After a standard system update you need to restart your session to make
all the necessary changes.
Red Hat
libraw: Boundary error in the parse_tiff_ifd()
vendor_redhat·2017-05-11·CVSS 7.8
CVE-2017-6887 [HIGH] libraw: Boundary error in the parse_tiff_ifd()
libraw: Boundary error in the parse_tiff_ifd()
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.
Package: LibRaw (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-6887: libraw - A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common.c...
vendor_debian·2017·CVSS 7.8
CVE-2017-6887 [HIGH] CVE-2017-6887: libraw - A boundary error within the "parse_tiff_ifd()" function (internal/dcraw_common.c...
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.
Scope: local
bookworm: resolved (fixed in 0.18.2-2)
bullseye: resolved (fixed in 0.18.2-2)
forky: resolved (fixed in 0.18.2-2)
sid: resolved (fixed in 0.18.2-2)
trixie: resolved (fixed in 0.18.2-2)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-6886 CVE-2017-6887 LibRaw: various flaws [epel-6]
bugzilla·2017-05-17·CVSS 9.8
CVE-2017-6886 [CRITICAL] CVE-2017-6886 CVE-2017-6887 LibRaw: various flaws [epel-6]
CVE-2017-6886 CVE-2017-6887 LibRaw: various flaws [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for the 'fedpkg update' request
Bugzilla
CVE-2017-6887 libraw: Boundary error in the parse_tiff_ifd()
bugzilla·2017-05-17·CVSS 7.8
CVE-2017-6887 [HIGH] CVE-2017-6887 libraw: Boundary error in the parse_tiff_ifd()
CVE-2017-6887 libraw: Boundary error in the parse_tiff_ifd()
A boundary error exists within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw. A maliciously crafted file could cause the application to crash.
References:
https://secuniaresearch.flexerasoftware.com/secunia_research/2017-6/
Upstream patch:
https://github.com/LibRaw/LibRaw/commit/d7c3d2cb460be10a3ea7b32e9443a83c243b2251
Discussion:
Created LibRaw tracking bugs for this issue:
Affects: epel-6 [bug 1451644]
Affects: fedora-all [bug 1451645]
Created mingw-LibRaw tracking bugs for this issue:
Affects: fedora-all [bug 1451643]
Bugzilla
CVE-2017-6886 CVE-2017-6887 LibRaw: various flaws [fedora-all]
bugzilla·2017-05-17·CVSS 9.8
CVE-2017-6886 [CRITICAL] CVE-2017-6886 CVE-2017-6887 LibRaw: various flaws [fedora-all]
CVE-2017-6886 CVE-2017-6887 LibRaw: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. Whi
Bugzilla
CVE-2017-6886 CVE-2017-6887 mingw-LibRaw: various flaws [fedora-all]
bugzilla·2017-05-17·CVSS 9.8
CVE-2017-6886 [CRITICAL] CVE-2017-6886 CVE-2017-6887 mingw-LibRaw: various flaws [fedora-all]
CVE-2017-6886 CVE-2017-6887 mingw-LibRaw: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedor
http://www.debian.org/security/2017/dsa-3950http://www.securityfocus.com/bid/98592https://github.com/LibRaw/LibRaw/commit/d7c3d2cb460be10a3ea7b32e9443a83c243b2251https://secuniaresearch.flexerasoftware.com/advisories/75737/https://secuniaresearch.flexerasoftware.com/secunia_research/2017-6/http://www.debian.org/security/2017/dsa-3950http://www.securityfocus.com/bid/98592https://github.com/LibRaw/LibRaw/commit/d7c3d2cb460be10a3ea7b32e9443a83c243b2251https://secuniaresearch.flexerasoftware.com/advisories/75737/https://secuniaresearch.flexerasoftware.com/secunia_research/2017-6/
2017-05-16
Published