{"id":"CVE-2024-21825","state":"PUBLISHED","title":"A heap-based buffer overflow vulnerability exists in the GGUF library GGUF_TYPE_ARRAY/GGUF_TYPE_STRING parsing functionality of llama.cpp Commit 18c2e17. A specially crafted .gguf ","description":"A heap-based buffer overflow vulnerability exists in the GGUF library GGUF_TYPE_ARRAY/GGUF_TYPE_STRING parsing 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:53.031Z","updatedAt":"2025-11-04T18:23:03.335Z","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-1912","https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1912"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/21xxx/CVE-2024-21825.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-21825","state":"PUBLISHED","datePublished":"2024-02-26T16:07:53.031Z","dateUpdated":"2025-11-04T18:23:03.335Z","assignerShortName":"talos","assignerOrgId":"b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b","dateReserved":"2024-01-18T18:17:26.571Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"A heap-based buffer overflow vulnerability exists in the GGUF library GGUF_TYPE_ARRAY/GGUF_TYPE_STRING parsing 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-1912","name":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1912"}],"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-190","lang":"en","description":"CWE-190: Integer Overflow or Wraparound","type":"CWE"}]}],"providerMetadata":{"shortName":"talos","orgId":"b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b","dateUpdated":"2024-02-26T18:00:05.599Z"},"credits":[{"lang":"en","value":"Discovered by Francesco Benvenuto of Cisco Talos."}]},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"ggerganov","product":"llama.cpp","defaultStatus":"unknown","versions":[{"version":"18c2e17","status":"affected"}],"cpes":["cpe:2.3:a:ggerganov:llama.cpp:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-02-27T15:24:54.197493Z","id":"CVE-2024-21825","options":[{"Exploitation":"none"},{"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-16T19:16:57.734Z"}},{"title":"CVE Program Container","references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1912","name":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1912","tags":["x_transferred"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1912"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T18:23:03.335Z"}}]}}}