CVE-2024-21836 is a critical heap-based buffer overflow vulnerability in the GGUF library header.n_tensors functionality of llama.cpp (specifically commit 18c2e17). This flaw allows an attacker to achieve code execution by providing a specially crafted .gguf file. With a CVSS score of 9.8 (Critical), it presents a severe risk, as it can be exploited remotely without user interaction or authentication, leading to complete compromise of confidentiality, integrity, and availability. While there is no known active exploitation, public exploit code, or KEV listing, the vulnerability has garnered some community discussion, highlighting the potential danger of using untrusted models.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 2024-01-09CPE matchmatch criteria | cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
Remediation records are not available for this CVE.