CVE-2024-21836
Severity CVSS v4.0:
Pending analysis
Type:
CWE-190
Integer Overflow or Wraparound
Publication date:
26/02/2024
Last modified:
04/11/2025
Description
A heap-based buffer overflow vulnerability exists in the GGUF library header.n_tensors 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.
Impact
Base Score 3.x
8.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:ggerganov:llama.cpp:*:*:*:*:*:*:*:* | 2024-01-09 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



