An exploitable out-of-bounds write vulnerability exists in the XMP image handling functionality of the FreeImage library. A specially crafted XMP file can cause an arbitrary memory overwrite resulting in code execution. An attacker can provide a malicious image to trigger this vulnerability.
https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
https://usn.ubuntu.com/3925-1/
https://security.gentoo.org/glsa/201701-68