{"api_version":"1","generated_at":"2026-04-29T22:38:09+00:00","cve":"CVE-2024-21802","urls":{"html":"https://cve.report/CVE-2024-21802","api":"https://cve.report/api/cve/CVE-2024-21802.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-21802","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-21802"},"summary":{"title":"CVE-2024-21802","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.","state":"PUBLISHED","assigner":"talos","published_at":"2024-02-26 16:27:55","updated_at":"2026-04-27 17:42:41"},"problem_types":["CWE-122","CWE-787","CWE-122 CWE-122: Heap-based Buffer Overflow"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"talos-cna@cisco.com","type":"Secondary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914","name":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1914","name":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1914","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-21802","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21802","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"llama.cpp","product":"llama.cpp","version":"affected Commit 18c2e17","platforms":[]},{"source":"ADP","vendor":"llama.cpp","product":"llama.cpp","version":"affected 18c2e17","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Discovered by Francesco Benvenuto of Cisco Talos.","lang":"en"}],"nvd_cpes":[{"cve_year":"2024","cve_id":"21802","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ggml","cpe5":"llama.cpp","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2024","cve_id":"21802","cve":"CVE-2024-21802","epss":"0.004810000","percentile":"0.651880000","score_date":"2026-04-27","updated_at":"2026-04-28 00:06:43"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2025-11-04T18:23:00.882Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914","tags":["x_transferred"],"url":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914"},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1914"}],"title":"CVE Program Container"},{"affected":[{"cpes":["cpe:2.3:a:llama.cpp:llama.cpp:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","product":"llama.cpp","vendor":"llama.cpp","versions":[{"status":"affected","version":"18c2e17"}]}],"metrics":[{"other":{"content":{"id":"CVE-2024-21802","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2024-02-27T16:03:55.363264Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2024-08-28T14:47:38.743Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"llama.cpp","vendor":"llama.cpp","versions":[{"status":"affected","version":"Commit 18c2e17"}]}],"credits":[{"lang":"en","value":"Discovered by Francesco Benvenuto of Cisco Talos."}],"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2024-02-26T18:00:07.556Z","orgId":"b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b","shortName":"talos"},"references":[{"name":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2024-1914"}]}},"cveMetadata":{"assignerOrgId":"b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b","assignerShortName":"talos","cveId":"CVE-2024-21802","datePublished":"2024-02-26T16:07:51.921Z","dateReserved":"2024-01-18T18:39:50.200Z","dateUpdated":"2025-11-04T18:23:00.882Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-02-26 16:27:55","lastModifiedDate":"2026-04-27 17:42:41","problem_types":["CWE-122","CWE-787","CWE-122 CWE-122: Heap-based Buffer Overflow"],"metrics":{"cvssMetricV31":[{"source":"talos-cna@cisco.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*","versionEndExcluding":"2024-01-09","matchCriteriaId":"C2747B65-48D5-4480-8FF3-382C763DC062"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2024","CveId":"21802","Ordinal":"1","Title":"CVE-2024-21802","CVE":"CVE-2024-21802","Year":"2024"},"notes":[{"CveYear":"2024","CveId":"21802","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2024-21802"}]}}}