CVE-2024-24684

Published May 28, 2024 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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 header parsing occuring while processing an `.off` file via the `readOFF` function.


We can see above that at [0] a stack-based buffer called `comment` is defined with an hardcoded size of `1000 bytes`. The call to `fscanf` at [1] is unsafe and if the first line of the header of the `.off` files is longer than 1000 bytes it will overflow the `header` buffer.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics epss

{'score': 0.16142}

epss

{'score': 0.17379}

Type Values Removed Values Added
First Time appeared Libigl
Libigl libigl
Weaknesses CWE-787
CPEs cpe:2.3:a:libigl:libigl:2.5.0:*:*:*:*:*:*:*
Vendors & Products Libigl
Libigl libigl
Weaknesses

Sources

Status
PUBLISHED
Assigner
talos
Published
Updated
Feb 13, 2025, 5:40 PM
Reserved
Jan 26, 2024, 9:40 AM
Status
Analyzed
Published
May 28, 2024, 2:15 PM
Modified
Jun 17, 2026, 7:14 AM