{"id":"CVE-2024-21802","state":"PUBLISHED","title":"A heap-based buffer overflow vulnerability exists in the GGUF library info-&gt;ne functionality of llama.cpp Commit 18c2e17. A specially crafted .gguf file can lead to code executi","description":"A heap-based buffer overflow vulnerability exists in the GGUF library info-&gt;ne functionality of llama.cpp Commit 18c2e17. A specially crafted .gguf file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.","publishedAt":"2024-02-26T16:07:51.921Z","updatedAt":"2025-11-04T18:23:00.882Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"talos"},"assigner":"talos","products":["llama.cpp llama.cpp"],"affected":[{"vendor":"llama.cpp","product":"llama.cpp","versions":[{"version":"Commit 18c2e17","status":"affected"}]}],"references":["https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914","https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1914"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/21xxx/CVE-2024-21802.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-21802","state":"PUBLISHED","datePublished":"2024-02-26T16:07:51.921Z","dateUpdated":"2025-11-04T18:23:00.882Z","assignerShortName":"talos","assignerOrgId":"b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b","dateReserved":"2024-01-18T18:39:50.200Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"A heap-based buffer overflow vulnerability exists in the GGUF library info-&gt;ne functionality of llama.cpp Commit 18c2e17. A specially crafted .gguf file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability."}],"affected":[{"vendor":"llama.cpp","product":"llama.cpp","versions":[{"version":"Commit 18c2e17","status":"affected"}]}],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914","name":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","lang":"en","description":"CWE-122: Heap-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"talos","orgId":"b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b","dateUpdated":"2024-02-26T18:00:07.556Z"},"credits":[{"lang":"en","value":"Discovered by Francesco Benvenuto of Cisco Talos."}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914","name":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914","tags":["x_transferred"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1914"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T18:23:00.882Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"llama.cpp","product":"llama.cpp","defaultStatus":"unknown","versions":[{"version":"18c2e17","status":"affected"}],"cpes":["cpe:2.3:a:llama.cpp:llama.cpp:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-02-27T16:03:55.363264Z","id":"CVE-2024-21802","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-08-28T14:47:38.743Z"}}]}}}