CVE-2016-5684 Memory corruption in FreeImage

High 7.8 Published Updated

An attacker can execute arbitrary code by providing a specially crafted XMP file to applications using the FreeImage library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-5684?

CVE-2016-5684 is a high-severity memory corruption vulnerability in Freeimage Project Freeimage, published on 6 Jan 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An exploitable out-of-bounds write vulnerability exists in the XMP image handling functionality of the FreeImage library. A specially crafted XMP file can cause an arbitrary memory overwrite resulting in code execution. An attacker can provide a malicious image to trigger this vulnerability.

Weakness: CWE-787

Which versions are affected by CVE-2016-5684?

It affects 1 product.

Products include Freeimage Project Freeimage.

How do I fix CVE-2016-5684?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-5684 being exploited?

There is no known exploitation of CVE-2016-5684 in the wild and no public exploit code.

All Freeimage Project Freeimage vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-5684, DLA-647-1, GHSA-wf6p-hgq4-x57x, UBUNTU-CVE-2016-5684, USN-3925-1.

Is CVE-2016-5684 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free