An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.
https://secuniaresearch.flexerasoftware.com/secunia_research/2018-9/
https://secuniaresearch.flexerasoftware.com/advisories/81800/
https://lists.debian.org/debian-lts-announce/2019/03/msg00036.html
https://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9