CVE-2016-5684
An exploitable out-of-bounds write vulnerability exists in the XMP image handling functionality...
CVE-2016-5684 is a high vulnerability (CVSS 7.8) in Freeimage, published October 6, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.81%, the 78th percentile. Fixed in freeimage 3.17.0+ds1-3.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2016-5684- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2016-5684- Updated
- 2026-11-02
EUVDEUVD-2016-6627 No score
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.
- Record
EUVD-2016-6627- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wf6p-hgq4-x57x
7.8
An exploitable out-of-bounds write vulnerability exists in the XMP image handling functionality...
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.
- Record
GHSA-wf6p-hgq4-x57x- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2016-5684- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-5684
7.8
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.
- Record
DEBIAN-CVE-2016-5684- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2016-5684
7.8
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.
- Record
UBUNTU-CVE-2016-5684- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2016-0373 No score
Updated freeimage packages fix security vulnerability
Multiple vulnerabilities were discovered in the FreeImage multimedia library, which might result in denial of service or the execution of arbitrary code if a malformed XMP or RAW image is processed. (CVE-2015-3885, CVE-2016-5684)
- Record
MGASA-2016-0373- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10766-1 No score
freeimage-devel-3.18.0-4.4 on GA media
These are all security issues fixed in the freeimage-devel-3.18.0-4.4 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10766-1- Updated
- 2026-11-02
OSVUSN-3925-1 No score
freeimage vulnerability
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.
- Record
USN-3925-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
freeimageDebian:12 |
before 3.17.0+ds1-3 | 3.17.0+ds1-3 |
freeimageDebian:13 |
before 3.17.0+ds1-3 | 3.17.0+ds1-3 |
freeimageDebian:7 |
before 3.15.1-1.1+deb7u1, plus listed versions 3.15.1-13.15.1-1.1 |
3.15.1-1.1+deb7u1 |
freeimageDebian:8 |
before 3.15.4-4.2+deb8u1, plus listed versions 3.15.4-4.13.15.4-4.2 |
3.15.4-4.2+deb8u1 |
freeimageMageia:5 |
before 3.154-1.2.mga5 | 3.154-1.2.mga5 |
freeimageUbuntu:14.04:LTS |
before 3.15.4-3ubuntu0.1, plus listed versions 3.15.1-2build13.15.1-2build23.15.4-23.15.4-3 |
3.15.4-3ubuntu0.1 |
freeimageUbuntu:16.04:LTS |
before 3.17.0+ds1-2ubuntu0.1, plus listed versions 3.15.4-4.1build13.15.4-63.17.0+ds1-1.13.17.0+ds1-2 |
3.17.0+ds1-2ubuntu0.1 |
freeimageopenSUSE:Tumbleweed |
before 3.18.0-4.4 | 3.18.0-4.4 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
talosintelligence.com/reports/TALOS-2016-0189
oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
securityfocus.com/bid/93287
security.gentoo.org/glsa/201701-68
usn.ubuntu.com/3925-1
nvd.nist.gov/vuln/detail/CVE-2016-5684
Show 13 moreShow less
github.com/advisories/GHSA-wf6p-hgq4-x57x
security-tracker.debian.org/tracker/CVE-2016-5684
advisories.mageia.org/MGASA-2016-0373.html
bugs.mageia.org/show_bug.cgi?id=19547
lwn.net/Articles/703585
ubuntu.com/security/CVE-2016-5684
freeimage.cvs.sourceforge.net/viewvc/freeimage/FreeImage/Source/FreeImage/PluginXPM.cpp?r1=1.17&r2=1.18
freeimage.cvs.sourceforge.net/viewvc/freeimage/FreeImage/Source/FreeImage/PluginXPM.cpp?r1=1.18&r2=1.19
ubuntu.com/security/notices/USN-3925-1
cve.org/CVERecord?id=CVE-2016-5684
suse.com/security/cve/CVE-2016-5684
suse.com/security/cve/CVE-2019-12211
suse.com/security/cve/CVE-2019-12213