CVE-2024-31570 Memory corruption in n/a
A stack-based buffer overflow in the FreeImage library allows attackers to execute arbitrary code or cause denial of service via a malicious XPM file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-31570?
CVE-2024-31570 is a critical memory corruption vulnerability in Freeimage Project Freeimage, published on 19 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2024-31570?
It affects 1 product.
Products include Freeimage Project Freeimage.
How do I fix CVE-2024-31570?
No fix has been published for CVE-2024-31570 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-31570 being exploited?
There is no known exploitation of CVE-2024-31570 in the wild and no public exploit code.
Other vulnerabilities in Freeimage Project Freeimage
Sources
Also known as DEBIAN-CVE-2024-31570, GHSA-c4jq-v98x-5qm2, UBUNTU-CVE-2024-31570.