Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-24685
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:05 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-24685
Complete source record
{
"id": "54c1a5a57b31541ab8997eccfbeefcd945254da9a621b1776436a7ef19d932e6",
"url": "https://osv.dev/vulnerability/CVE-2024-24685",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-24685",
"summary": "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.",
"evidence": "osv:CVE-2024-24685",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-24685",
"aliases": [
"CVE-2024-24685"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libigl/libigl",
"type": "GIT",
"events": [
{
"introduced": "fdaac01bcc52888994f7afd029dcc045dd408484"
},
{
"last_affected": "fdaac01bcc52888994f7afd029dcc045dd408484"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libigl:libigl:2.5.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5.0"
},
{
"last_affected": "2.5.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.5.0",
"v2.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-24685.json"
}
}
],
"modified": "2026-10-28T02:30:24.141601638Z",
"provider": "osv",
"references": [
"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1929",
"https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1929",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24685.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-24685"
],
"provider_metadata": {
"cwe_ids": [
"CWE-121"
],
"cna_assigner": "talos",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "v2.5.0"
},
{
"last_affected": "v2.5.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24685.json"
}
},
"related_cves": [
{
"value": "CVE-2024-24685",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490709,
"published_at": "2024-05-28T14:02:40.055+00:00"
}