{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-24684","id":"CVE-2024-24684","title":"Multiple stack-based buffer overflow vulnerabilities exist in the readOFF functionality of libigl v2.5.0","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] ","descriptionLong":"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.","published":"2024-05-28T14:02:39.939Z","updated":"2026-10-28T02:31:05.952552080Z","reserved":"2024-01-26T09:40:46.280Z","status":"Analyzed","rejected":false,"assigner":"talos","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"talos"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"talos"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"cisco.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["libigl"],"affectedProducts":[{"vendor":"libigl","product":"libigl","defaultStatus":null,"versions":[{"version":"v2.5.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-121","CWE-787"],"aliases":[],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1929","tags":["x_transferred","Mitigation","Third Party Advisory","web"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1929","tags":["x_transferred","Mitigation","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/24xxx/CVE-2024-24684.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24684","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00751,"epssPercentile":0.55789,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-24684","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24684","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-24684","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-24684","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}