CVE-2019-12211
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (4.21%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 4.21% probability · 90th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- freeimage project/freeimage · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- https://lists.debian.org/debian-lts-announce/2019/12/msg00012.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PUWVVP67FYM4GMWD7TPQ7C7JPPRUZHYE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZ7KBYPPNRMX7RRWVJSX4T63E3TFB6TG/
- https://seclists.org/bugtraq/2019/Dec/45Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202107-02Third Party Advisory
- https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/Exploit, Third Party Advisory
- https://usn.ubuntu.com/4529-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4593Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/12/msg00012.htmlMailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PUWVVP67FYM4GMWD7TPQ7C7JPPRUZHYE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZ7KBYPPNRMX7RRWVJSX4T63E3TFB6TG/
- https://seclists.org/bugtraq/2019/Dec/45Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202107-02Third Party Advisory
- https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/Exploit, Third Party Advisory
- https://usn.ubuntu.com/4529-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4593Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.