A flaw was found in LibRaw versions before 0.18.9. An error within the samsung_load_raw() function (internal/dcraw_common.cpp) can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash. References: https://secuniaresearch.flexerasoftware.com/secunia_research/2018-10/
Created LibRaw tracking bugs for this issue: Affects: epel-6 [bug 1610472] Affects: fedora-all [bug 1610470] Created mingw-LibRaw tracking bugs for this issue: Affects: fedora-all [bug 1610471]
Upstream patch: https://github.com/LibRaw/LibRaw/commit/c9d8143eba4ff397163665e2119c6c5d7db54c55
In RHEL 7, the code in dcraw_common.cpp, generated from dcraw.cpp, does not contain the `samsung_load_raw` function and it does not support the TIFF tag 40976, related to Samsung.
Statement: This issue did not affect the versions of LibRaw as shipped with Red Hat Enterprise Linux 7 as they did not include the vulnerable code.