CVE-2024-31570
CVE-2024-31570 is a critical-severity vulnerability in Freeimage Project Freeimage with a CVSS 3.x base score of 9.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: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (45th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-29448
- Weakness: CWE-787
- Affected product: Freeimage Project Freeimage
- Published:
- Last modified:
Description
libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via an XPM file.
Frequently asked questions
- What is CVE-2024-31570?
- libfreeimage in FreeImage 3.4.0 through 3.18.0 has a stack-based buffer overflow in the PluginXPM.cpp Load function via an XPM file.
- How severe is CVE-2024-31570?
- CVE-2024-31570 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-31570 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (45th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-31570?
- CVE-2024-31570 affects Freeimage Project Freeimage. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-31570?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-31570 have an EU (EUVD) identifier?
- Yes. CVE-2024-31570 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-29448.
- When was CVE-2024-31570 published?
- CVE-2024-31570 was published on 2024-09-19 and last updated on 2026-06-17.
References
- https://sourceforge.net/p/freeimage/bugs/355/
- https://www.openwall.com/lists/oss-security/2024/04/11/10
Affected products (1)
- cpe:2.3:a:freeimage_project:freeimage:*:*:*:*:*:*:*:*
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-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.
- CVE-2020-24295 — High (CVSS 8.8): Buffer Overflow vulnerability in PSDParser.cpp::ReadImageLine() in FreeImage 3.19.0 [r1859] allows remote attackers to…
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…