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.
{
"cna_assigner": "talos",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24685.json",
"cwe_ids": [
"CWE-121"
],
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "v2.5.0"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "2.5.0"
}
],
"source": "CPE_STRING",
"cpe": "cpe:2.3:a:libigl:libigl:2.5.0:*:*:*:*:*:*:*"
}