{"id":"CVE-2024-24684","state":"PUBLISHED","title":"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 ","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. \r\n\r\n\r\nWe 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.","publishedAt":"2024-05-28T14:02:39.939Z","updatedAt":"2025-02-13T17:40:18.620Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"talos"},"assigner":"talos","products":["libigl libigl"],"affected":[{"vendor":"libigl","product":"libigl","versions":[{"version":"v2.5.0","status":"affected"}]}],"references":["https://talosintelligence.com/vulnerability_reports/TALOS-2024-1929","https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1929"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/24xxx/CVE-2024-24684.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-24684","state":"PUBLISHED","datePublished":"2024-05-28T14:02:39.939Z","dateUpdated":"2025-02-13T17:40:18.620Z","assignerShortName":"talos","assignerOrgId":"b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b","dateReserved":"2024-01-26T09:40:46.280Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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. \r\n\r\n\r\nWe 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."}],"affected":[{"vendor":"libigl","product":"libigl","versions":[{"version":"v2.5.0","status":"affected"}]}],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1929","name":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1929"},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1929"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","description":"CWE-121: Stack-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"talos","orgId":"b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b","dateUpdated":"2024-06-10T18:08:47.208Z"},"credits":[{"lang":"en","value":"Discovered by Philippe Laulheret of Cisco Talos."}]},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"libigl","product":"libigl","defaultStatus":"affected","versions":[{"version":"2.5.0","status":"affected"}],"cpes":["cpe:2.3:a:libigl:libigl:2.5.0:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-05-28T16:24:46.778538Z","id":"CVE-2024-24684","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-24T17:54:43.959Z"}},{"title":"CVE Program Container","references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1929","name":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1929","tags":["x_transferred"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1929","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:28:11.102Z"}}]}}}