Out-of-bounds Write Affecting freeimage package, versions <3.18.0+ds2-1ubuntu3.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.05% (84th 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-UBUNTU2004-FREEIMAGE-581576
  • published20 May 2019
  • disclosed20 May 2019

Introduced: 20 May 2019

CVE-2019-12211  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 freeimage to version 3.18.0+ds2-1ubuntu3.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:20.04 relevant fixed versions and status.

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 Scores

version 3.1