Skip to main content
VulnerabilityPublished Updated

CVE-2024-21802: llama.cpp · Heap-based Buffer Overflow

Affects llama.cppSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.8 High.

Data as of 2 Nov 2026, 16:18 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (talos)CVSS 3.18.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Feb 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Nov 2026.

What to do

AI-suggested

Until a fix is available, users should avoid opening or processing untrusted or suspicious .gguf files to mitigate risk.

Description

CVE-2024-21802 is a heap-based buffer overflow vulnerability in the GGUF library info->ne functionality of llama.cpp. A specially crafted .gguf file can trigger this flaw, potentially allowing code execution when processed. The vulnerability was published in February 2024 and carries a high severity rating with a CVSS score of 8.8.

References

Community reviews

Loading reviews…