CVE-2024-23949 Memory corruption in libigl

High 8.8 Published Updated

An attacker can trigger an out-of-bounds write in libigl by providing a malicious .msh file, potentially leading to code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-23949?

CVE-2024-23949 is a high-severity memory corruption vulnerability in libigl, published on 28 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Multiple improper array index validation vulnerabilities exist in the readMSH functionality of libigl v2.5.0. A specially crafted .msh file can lead to an out-of-bounds write. An attacker can provide a malicious file to trigger this vulnerability.This vulnerability concerns the `igl::MshLoader::parse_node_field` function while handling an `ascii`.msh` file.

Weakness: CWE-787

Which versions are affected by CVE-2024-23949?

It affects 1 product.

Products include Libigl Libigl.

How do I fix CVE-2024-23949?

No fix has been published for CVE-2024-23949 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-23949 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-23949 exists.

Sources

Also known as UBUNTU-CVE-2024-23949.

Is CVE-2024-23949 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free