When FreeImage 3.18.0 reads a tiff file, it will be handed to the Load function of the PluginTIFF.cpp file, but a memcpy occurs in which the destination address and the size of the copied data are not considered, resulting in a heap overflow.
https://tuxcare.com/blog/multiple-freeimage-vulnerabilities-fixed-in-ubuntu/?web_view=true
https://www.debian.org/security/2019/dsa-4593
https://usn.ubuntu.com/4529-1/
https://security.gentoo.org/glsa/202107-02
https://seclists.org/bugtraq/2019/Dec/45
https://lists.debian.org/debian-lts-announce/2019/12/msg00012.html