An error within the "leaf_hdr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to trigger a NULL pointer dereference.
https://secuniaresearch.flexerasoftware.com/secunia_research/2018-3/
https://secuniaresearch.flexerasoftware.com/advisories/81000/
https://github.com/LibRaw/LibRaw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff