CVE-2023-35951 Memory corruption in libigl

High 7.8 Published Updated

A stack-based buffer overflow in libigl allows arbitrary code execution via a specially crafted 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-2023-35951?

CVE-2023-35951 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.cpp functionality of libigl v2.4.0. A specially-crafted .off file can lead to a buffer overflow. An attacker can arbitrary code execution to trigger these vulnerabilities.This vulnerability exists within the code responsible for parsing geometric vertices of an OFF file.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2023-35951?

It affects 1 product.

Products include Libigl Libigl.

How do I fix CVE-2023-35951?

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

There is no known exploitation of CVE-2023-35951 in the wild and no public exploit code.

Sources

Also known as UBUNTU-CVE-2023-35951.

Is CVE-2023-35951 in your software?

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

Check your SBOMs for free