CVE-2024-24685 Memory corruption in libigl
A stack-based buffer overflow in libigl allows attackers to execute arbitrary code or cause denial of service via a malicious .off file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-24685?
CVE-2024-24685 is a high-severity memory corruption vulnerability in libigl, published on 28 May 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Multiple stack-based buffer overflow vulnerabilities exist in the readOFF functionality of libigl v2.5.0. A specially crafted .off file can lead to stack-based buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.This vulnerability concerns the parsing of comments within the vertex section of an `.off` file processed via the `readOFF` function.
Which versions are affected by CVE-2024-24685?
It affects 1 product.
Products include Libigl Libigl.
How do I fix CVE-2024-24685?
No fix has been published for CVE-2024-24685 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-24685 being exploited?
There is no known exploitation of CVE-2024-24685 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in libigl
Sources
Also known as UBUNTU-CVE-2024-24685.