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://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.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZ7KBYPPNRMX7RRWVJSX4T63E3TFB6TG/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PUWVVP67FYM4GMWD7TPQ7C7JPPRUZHYE/
https://lists.debian.org/debian-lts-announce/2019/12/msg00012.html
https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/
Source: Mitre, NVD
Published: 2019-05-20
Updated: 2023-11-07
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 7.5
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity: High
EPSS: 0.00997