An off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.7 can be exploited to cause a heap-based buffer overflow and subsequently cause a crash.
https://usn.ubuntu.com/3615-1/
https://secuniaresearch.flexerasoftware.com/secunia_research/2018-1/
https://secuniaresearch.flexerasoftware.com/advisories/79000/
https://lists.debian.org/debian-lts-announce/2019/03/msg00036.html
https://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4
https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt