CVE-2016-5684
CVE-2016-5684 is a high-severity vulnerability in Freeimage Project Freeimage with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 6.8
- EPSS exploit prediction: 2% (76th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-787
- Affected product: Freeimage Project Freeimage
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2016-5684?
- 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.
- How severe is CVE-2016-5684?
- CVE-2016-5684 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2016-5684 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (76th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2016-5684?
- CVE-2016-5684 affects Freeimage Project Freeimage. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2016-5684?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2016-5684 published?
- CVE-2016-5684 was published on 2017-01-06 and last updated on 2026-06-17.
References
- http://www.securityfocus.com/bid/93287
- http://www.talosintelligence.com/reports/TALOS-2016-0189/
- https://security.gentoo.org/glsa/201701-68
- https://usn.ubuntu.com/3925-1/
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
Affected products (1)
- cpe:2.3:a:freeimage_project:freeimage:3.17.0:*:*:*:*:*:*:*
More vulnerabilities in Freeimage Project Freeimage
- CVE-2025-70968 — Critical (CVSS 9.8): FreeImage 3.18.0 contains a Use After Free in PluginTARGA.cpp;loadRLE().
- CVE-2024-31570 — Critical (CVSS 9.8): libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via…
- CVE-2023-47994 — High (CVSS 8.8): An integer overflow vulnerability in LoadPixelDataRLE4 function in PluginBMP.cpp in Freeimage 3.18.0 allows attackers…
- CVE-2023-47992 — High (CVSS 8.8): An integer overflow vulnerability in FreeImageIO.cpp::_MemoryReadProc in FreeImage 3.18.0 allows attackers to obtain…
- CVE-2021-40265 — High (CVSS 8.8): A heap overflow bug exists FreeImage before 1.18.0 via ofLoad function in PluginJPEG.cpp.
- CVE-2021-40263 — High (CVSS 8.8): A heap overflow vulnerability in FreeImage 1.18.0 via the ofLoad function in PluginTIFF.cpp.
All CVEs affecting Freeimage Project Freeimage →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…