Uncontrolled Recursion Affecting freeimage package, versions <3.18.0+ds2-6ubuntu5.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.18% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-FREEIMAGE-2794801
  • published20 May 2019
  • disclosed20 May 2019

Introduced: 20 May 2019

CVE-2019-12212  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 freeimage to version 3.18.0+ds2-6ubuntu5.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freeimage package and not the freeimage package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

When FreeImage 3.18.0 reads a special JXR file, the StreamCalcIFDSize function of JXRMeta.c repeatedly calls itself due to improper processing of the file, eventually causing stack exhaustion. An attacker can achieve a remote denial of service attack by sending a specially constructed file.