Skip to main content
VulnerabilityPublished Updated

CVE-2024-21836: llama.cpp · Integer Overflow or Wraparound

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

Users should exercise caution when handling .gguf files from untrusted sources. Monitor vendor advisories for updates and apply patches once released.

Description

CVE-2024-21836 is a high-severity heap-based buffer overflow vulnerability in the GGUF library header.n_tensors functionality of llama.cpp. It arises from an integer overflow or wraparound issue (CWE-190) triggered by processing a specially crafted .gguf file. Successful exploitation could lead to code execution when a malicious file is provided to the vulnerable software.

References

Community reviews

Loading reviews…