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.
Affects 1 product across 1 vendor.
Buffer overflow corrupting the program stack, typically overwriting the return address for code execution.
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
A stack-based buffer overflow vulnerability exists in the PluginXPM.cpp Load function of libfreeimage in FreeImage versions 3.4.0 through 3.18.0, which can be exploited via a specially crafted XPM file.
BSID: BS-2024-GLOBAL-191464-C • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: HIGH
Is this CVE in your environment?
BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.
Check My Environment →What is CVE-2024-31570?
What is the CVSS score for CVE-2024-31570?
Is CVE-2024-31570 actively exploited?
How do I remediate CVE-2024-31570?
What systems are affected by CVE-2024-31570?
| CVE ID | CVE-2024-31570 |
|---|---|
| BSID | BS-2024-GLOBAL-191464-C BreachSpider Global ID |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-09-19 |
| Last Modified | 2024-09-25 |
| ICS Relevance | 15% |
| Weakness (CWE) | |
| Source | NVD |
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.
Source: NIST NVD / MITRE CVE Database
The vulnerability is triggered when the Load function in PluginXPM.cpp does not properly validate the size of the input XPM file, leading to a stack-based buffer overflow. An attacker can exploit this by providing a malicious XPM file to the affected application, potentially leading to arbitrary code execution.
Exploitation Likelihood: CRITICAL
| Vendor | Product | Affected Versions |
|---|---|---|
| Freeimage Project | Freeimage | ≥ 3.4.0, ≤ 3.18.0 |
No official vendor advisory link on record. See the CVE record →
| CISA known-exploited | Not in KEV catalog |
|---|---|
| Public Exploit | Not confirmed |
| PoC Code | Not confirmed |
AI Enrichment Record — provenance & audit hash
| Model | /workspace/models/qwen2.5-coder-32b-instruct-bf16 |
|---|---|
| Confidence | HIGH |
| Enriched At | 2026-05-24 |
| SHA-512 Audit Hash | 824025ff4c7715beb6515cdf74e780fa714dbcb3e6b714024d1ca1484ad69eb31533731ecbac3dc9d1723f7aa5b7ebf40db23b40e61dc1ead954879836ba6472 |
Critical Severity - Know Your Exposure
A CVSS 9.8 vulnerability in your ICS environment cannot wait. BreachSpider maps critical CVEs to your specific assets and tells you what to fix first.
Create a free account →