USN-3925-1: FreeImage vulnerability

28 March 2019

freeimage vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS


FreeImage could be made to crash or run programs as your login if it opened a specially crafted file.

Software Description

  • freeimage - Support library for graphics image formats (development files)


It was discovered that an out-of-bounds write vulnerability existed in the XMP image handling functionality of the FreeImage library. If a user or automated system were tricked into opening a specially crafted image, a remote attacker could overwrite arbitrary memory, resulting in code execution.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 16.04 LTS
libfreeimage3 - 3.17.0+ds1-2ubuntu0.1
libfreeimageplus3 - 3.17.0+ds1-2ubuntu0.1
Ubuntu 14.04 LTS
libfreeimage3 - 3.15.4-3ubuntu0.1

To update your system, please follow these instructions:

In general, a standard system update will make all the necessary changes.