A type confusion error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to trigger a division by zero.
https://secuniaresearch.flexerasoftware.com/secunia_research/2018-3/
https://secuniaresearch.flexerasoftware.com/advisories/81000/
https://github.com/LibRaw/LibRaw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff