CVE Vulnerabilities

CVE-2019-12213

Uncontrolled Recursion

Published: May 20, 2019 | Modified: Nov 21, 2024
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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
FreeimageFreeimage_project3.18.0 (including)3.18.0 (including)
FreeimageUbuntubionic*
FreeimageUbuntucosmic*
FreeimageUbuntudisco*
FreeimageUbuntueoan*
FreeimageUbuntuesm-apps/bionic*
FreeimageUbuntuesm-apps/focal*
FreeimageUbuntuesm-apps/xenial*
FreeimageUbuntuesm-infra-legacy/trusty*
FreeimageUbuntufocal*
FreeimageUbuntutrusty*
FreeimageUbuntutrusty/esm*
FreeimageUbuntuxenial*

Potential Mitigations

References