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.
http://www.securityfocus.com/bid/104663
https://access.redhat.com/errata/RHSA-2018:3065
https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt
https://github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4
https://lists.debian.org/debian-lts-announce/2019/03/msg00036.html
https://secuniaresearch.flexerasoftware.com/advisories/79000/
https://secuniaresearch.flexerasoftware.com/secunia_research/2018-1/
Source: MITRE
Published: 2018-12-07
Updated: 2020-11-20
Type: CWE-787
Base Score: 4.3
Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P
Impact Score: 2.9
Exploitability Score: 8.6
Severity: MEDIUM
Base Score: 6.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Impact Score: 3.6
Exploitability Score: 2.8
Severity: MEDIUM