{"schemaVersion":3,"id":"CVE-2016-5684","aliases":["UBUNTU-CVE-2016-5684","USN-3925-1","DEBIAN-CVE-2016-5684","DLA-647-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-01-06T21:00:00.000Z","modified":"2024-08-06T01:08:00.415Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.01815,"percentile":0.78485,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.798,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.02613},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02613,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01815,"percentile":0.78485}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.02613,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0183,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01815,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01815,"percentile":0.78485}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"freeimage","name":"freeimage","label":"freeimage","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/freeimage","purlType":"deb","versions":[{"text":"< 3.17.0+ds1-3","noFixRecorded":false,"fixedIn":null},{"text":"< 3.15.1-1.1+deb7u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.17.0+ds1-3 | < 3.15.1-1.1+deb7u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"freeimage","name":"freeimage","label":"freeimage","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/freeimage","purlType":"deb","versions":[{"text":"< 3.15.4-3ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.17.0+ds1-2ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.15.4-3ubuntu0.1 | < 3.17.0+ds1-2ubuntu0.1","eol":null,"hubHref":null},{"vendor":"freeimage_project","product":"freeimage","name":"freeimage","label":"freeimage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.17.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.17.0","eol":null,"hubHref":"/vendor/freeimage_project/freeimage"},{"vendor":"freeimage","product":"freeimage","name":"FreeImage","label":"freeimage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.17.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.17.0","eol":null,"hubHref":"/vendor/freeimage/freeimage"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.talosintelligence.com/reports/TALOS-2016-0189/","label":"www.talosintelligence.com/reports/TALOS-2016-0189/","hostname":"www.talosintelligence.com","tags":["X Refsource MISC","Mitigation","Technical Description","Third Party Advisory","REPORT"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html","label":"www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.securityfocus.com/bid/93287","label":"www.securityfocus.com/bid/93287","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"https://security.gentoo.org/glsa/201701-68","label":"security.gentoo.org/glsa/201701-68","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"https://usn.ubuntu.com/3925-1/","label":"usn.ubuntu.com/3925-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"https://ubuntu.com/security/CVE-2016-5684","label":"ubuntu.com/security/CVE-2016-5684","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://freeimage.cvs.sourceforge.net/viewvc/freeimage/FreeImage/Source/FreeImage/PluginXPM.cpp?r1=1.17&r2=1.18","label":"freeimage.cvs.sourceforge.net/viewvc/…","hostname":"freeimage.cvs.sourceforge.net","tags":["REPORT"]},{"url":"http://freeimage.cvs.sourceforge.net/viewvc/freeimage/FreeImage/Source/FreeImage/PluginXPM.cpp?r1=1.18&r2=1.19","label":"freeimage.cvs.sourceforge.net/viewvc/…","hostname":"freeimage.cvs.sourceforge.net","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3925-1","label":"ubuntu.com/security/notices/USN-3925-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-5684","label":"www.cve.org/CVERecord?id=CVE-2016-5684","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-5684","label":"security-tracker.debian.org/tracker/CVE-2016-5684","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-3692-1","MGASA-2016-0373","OPENSUSE-SU-2024:10766-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10766-1"]},"timeline":[{"kind":"published","date":"2017-01-06T21:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T01:08:00.415Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T15:05:04.550Z","stale":false,"partial":false}}