CVE Vulnerabilities

CVE-2019-12213

Uncontrolled Recursion

Published: May 20, 2019 | Modified: Nov 07, 2023
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

When FreeImage 3.18.0 reads a special TIFF file, the TIFFReadDirectory function in PluginTIFF.cpp always returns 1, leading to stack exhaustion.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

Name Vendor Start Version End Version
Freeimage Freeimage_project 3.18.0 (including) 3.18.0 (including)
Freeimage Ubuntu bionic *
Freeimage Ubuntu cosmic *
Freeimage Ubuntu disco *
Freeimage Ubuntu eoan *
Freeimage Ubuntu esm-apps/xenial *
Freeimage Ubuntu focal *
Freeimage Ubuntu trusty *
Freeimage Ubuntu trusty/esm *
Freeimage Ubuntu xenial *

Potential Mitigations

References