Skip to content
Fencer Vulns
high 7.8

CVE-2016-5684 json

An exploitable out-of-bounds write vulnerability exists in the XMP image handling functionality of the FreeImage library.

published 2017-01-06 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-6627

cvss
7.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.8%
EPSS 1.8% chance of exploitation in 30 days, percentile 78%
public exploits
0
none known

Summary

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.

Patch / fix

  • freeimage Debian 13, Debian 12 3.17.0+ds1-3

debian advisories DEBIAN-CVE-2016-5684

  • freeimage Ubuntu 14.04 LTS 3.15.4-3ubuntu0.1
  • freeimage Ubuntu 16.04 LTS 3.17.0+ds1-2ubuntu0.1

ubuntu advisories UBUNTU-CVE-2016-5684

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • freeimage openSUSE Tumbleweed 3.18.0-4.4

opensuse advisories openSUSE-SU-2024:10766-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-5684 updated cvss 8.8

freeimage: XMP Image Handling Code Execution Vulnerability

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.81% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products

  • FreeImage FreeImage

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.