{"id":"CVE-2016-5684","aliases":["DEBIAN-CVE-2016-5684","DLA-647-1","DSA-3692-1","EUVD-2016-6627","GHSA-wf6p-hgq4-x57x","MGASA-2016-0373","UBUNTU-CVE-2016-5684","USN-3925-1","openSUSE-SU-2024:10766-1"],"status":"published","title":"An exploitable out-of-bounds write vulnerability exists in the XMP image handling functionality...","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.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01815,"percentile":0.7882,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2016-10-06T00:00:00Z","modified":"2026-10-09T17:00:03Z","fixes":[{"ecosystem":"Debian:12","package":"freeimage","fixed_in":["3.17.0+ds1-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"freeimage","fixed_in":["3.17.0+ds1-3"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"freeimage","fixed_in":["3.15.1-1.1+deb7u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"freeimage","fixed_in":["3.15.4-3ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"freeimage","fixed_in":["3.17.0+ds1-2ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.17.0+ds1-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.17.0+ds1-3"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.15.1-1.1+deb7u1"}]}],"versions":["3.15.1-1","3.15.1-1.1"]},{"source":"osv","ecosystem":"Debian:8","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.15.4-4.2+deb8u1"}]}],"versions":["3.15.4-4.1","3.15.4-4.2"],"bundled":2},{"source":"osv","ecosystem":"Mageia:5","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.154-1.2.mga5"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.15.4-3ubuntu0.1"}]}],"versions":["3.15.1-2build1","3.15.1-2build2","3.15.4-2","3.15.4-3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.17.0+ds1-2ubuntu0.1"}]}],"versions":["3.15.4-4.1build1","3.15.4-6","3.17.0+ds1-1.1","3.17.0+ds1-2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.15.4-3ubuntu0.1"}]}],"versions":["3.15.1-2build1","3.15.1-2build2","3.15.4-2","3.15.4-3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.17.0+ds1-2ubuntu0.1"}]}],"versions":["3.15.4-4.1build1","3.15.4-6","3.17.0+ds1-1.1","3.17.0+ds1-2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"freeimage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.18.0-4.4"}]}],"bundled":3}],"products":[{"vendor":"freeimage","product":"freeimage"},{"vendor":"freeimage_project","product":"freeimage"}],"references":[{"url":"http://www.talosintelligence.com/reports/TALOS-2016-0189/","tags":["x_refsource_MISC","x_transferred","Mitigation","Technical Description","Third Party Advisory","advisory","web","report"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/bid/93287","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/201701-68","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://usn.ubuntu.com/3925-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-5684"},{"url":"https://usn.ubuntu.com/3925-1"},{"url":"http://www.talosintelligence.com/reports/TALOS-2016-0189"},{"url":"https://github.com/advisories/GHSA-wf6p-hgq4-x57x"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-5684","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2016-0373.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19547","tags":["report"]},{"url":"http://lwn.net/Articles/703585/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-5684","tags":["report"]},{"url":"http://freeimage.cvs.sourceforge.net/viewvc/freeimage/FreeImage/Source/FreeImage/PluginXPM.cpp?r1=1.17\u0026r2=1.18","tags":["report"]},{"url":"http://freeimage.cvs.sourceforge.net/viewvc/freeimage/FreeImage/Source/FreeImage/PluginXPM.cpp?r1=1.18\u0026r2=1.19","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3925-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-5684","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5684","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-12211","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-12213","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2016-5684","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.","status":"published","published":"2017-01-06T21:00:00Z","modified":"2024-08-06T01:08:00.415Z","updated_at":"2026-11-02T14:33:30.767029Z"}],"euvd":[{"id":"EUVD-2016-6627","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.","status":"published","published":"2017-01-06T21:00:00Z","modified":"2024-08-06T01:08:00Z","updated_at":"2026-11-03T02:22:42.006781Z"}],"ghsa":[{"id":"GHSA-wf6p-hgq4-x57x","title":"An exploitable out-of-bounds write vulnerability exists in the XMP image handling functionality...","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.","status":"published","published":"2022-05-14T01:14:50Z","modified":"2025-04-20T03:31:53Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:01:38.976438Z"}],"nvd":[{"id":"CVE-2016-5684","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.","status":"published","published":"2017-01-06T21:59:01.727Z","modified":"2026-06-17T00:49:52.24Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:03:33.686843Z"}],"osv":[{"id":"CVE-2016-5684","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.","status":"published","published":"2017-01-06T21:59:01.727Z","modified":"2026-04-16T06:17:38.14755092Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:02.776224Z"},{"id":"DEBIAN-CVE-2016-5684","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.","status":"published","published":"2017-01-06T21:59:01.727Z","modified":"2026-10-09T17:00:03.562403176Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:27.910042Z"},{"id":"UBUNTU-CVE-2016-5684","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.","status":"published","published":"2017-01-06T00:00:00Z","modified":"2026-04-22T10:53:20.143732Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:12.642042Z"},{"id":"DLA-647-1","title":"freeimage - security update","status":"published","published":"2016-10-06T00:00:00Z","modified":"2026-03-09T02:11:28.448509Z","updated_at":"2026-11-02T15:46:13.207219Z"},{"id":"DSA-3692-1","title":"freeimage - security update","status":"published","published":"2016-10-13T00:00:00Z","modified":"2026-03-09T01:17:46.555903Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2016-0373","title":"Updated freeimage packages fix security vulnerability","description":"Multiple vulnerabilities were discovered in the FreeImage multimedia\nlibrary, which might result in denial of service or the execution of\narbitrary code if a malformed XMP or RAW image is processed.\n(CVE-2015-3885, CVE-2016-5684)\n","status":"published","published":"2016-11-10T22:23:34Z","modified":"2026-04-16T06:24:40.639361067Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"openSUSE-SU-2024:10766-1","title":"freeimage-devel-3.18.0-4.4 on GA media","description":"These are all security issues fixed in the freeimage-devel-3.18.0-4.4 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:26:06.260165Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"USN-3925-1","title":"freeimage vulnerability","description":"It was discovered that an out-of-bounds write vulnerability existed in the XMP\nimage handling functionality of the FreeImage library. If a user or automated\nsystem were tricked into opening a specially crafted image, a remote attacker\ncould overwrite arbitrary memory, resulting in code execution.\n","status":"published","published":"2019-03-28T17:55:54Z","modified":"2026-04-22T09:55:08.904517Z","updated_at":"2026-11-02T16:58:14.019824Z"}]}}
