In ImageMagick 7.0.7-17 Q16, there are memory leaks in ReadRLAImage in coders/rla.c. https://nvd.nist.gov/vuln/detail/CVE-2018-5247