An error within the "samsung_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
https://usn.ubuntu.com/3838-1/
https://secuniaresearch.flexerasoftware.com/secunia_research/2018-10/
https://secuniaresearch.flexerasoftware.com/advisories/81800/
https://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9