CVE-2017-6887
HighSummary
A boundary error in the 'parse_tiff_ifd()' function in LibRaw versions before 0.18.2 can lead to memory corruption. Exploiting a specially crafted KDC file with the model set to 'DSLR-A100' and containing multiple sequences of 0x100 and 0x14A TAGs may allow an attack.
Risk Assessment
Organizations using the vulnerable version of LibRaw may be exposed to attacks leading to memory corruption, potentially resulting in application crashes or data leaks.
Recommendation
It is recommended to update LibRaw to version 0.18.2 or later to mitigate this vulnerability.
Other vulnerabilities in LibRaw
See all- CVE-2017-14348High
LibRaw before 0.18.4 has a heap-based Buffer Overflow in the processCanonCameraInfo function via a crafted file.
- CVE-2017-13735High
There is a floating point exception in the kodak_radc_load_raw function in dcraw_common.cpp in LibRaw 0.18.2, which may lead to a remote denial of service attack.
- CVE-2026-21413Critical
A heap-based buffer overflow vulnerability was found in the lossless_jpeg_load_raw function of LibRaw in commits 0b56545 and d20315b. A specially crafted malicious file can cause a heap buffer overflow.
- CVE-2026-20911Critical
A heap-based buffer overflow vulnerability in the HuffTable::initval function of LibRaw. A specially crafted malicious file can cause a heap buffer overflow, allowing an attacker to execute arbitrary code or crash the application.
- CVE-2026-20889Critical
A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader function of LibRaw (commit d20315b). A specially crafted malicious file can lead to a heap buffer overflow.
- CVE-2017-14608Critical
In LibRaw through version 0.18.4, an out of bounds read flaw related to kodak_65000_load_raw has been reported in dcraw/dcraw.c and internal/dcraw_common.cpp. An attacker could possibly exploit this flaw to disclose potentially sensitive memory or cause an application crash.
- CVE-2017-14265Critical
A stack-based buffer overflow was discovered in xtrans_interpolate in internal/dcraw_common.cpp in LibRaw before version 0.18.3. It could allow a remote denial of service or code execution attack.
- CVE-2017-6886Critical
An error in the 'parse_tiff_ifd()' function in LibRaw versions before 0.18.2 can be exploited to corrupt memory.
- CVE-2026-24660High
A heap-based buffer overflow vulnerability exists in the x3f_load_huffman function of LibRaw. A specially crafted malicious file can lead to a heap buffer overflow.
- CVE-2026-5342Medium
A vulnerability in LibRaw up to 0.22.0 in the function LibRaw::nikon_load_padded_packed_raw. Manipulating load_flags/raw_width arguments leads to an out-of-bounds read. The attack can be remote.
Original NVD description (English source)
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.

