CVE-2024-21836
CRITICAL EPSS 68.0%
Published Feb 26, 20242y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Published Feb 26, 2024 2y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
68.0% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 2
CWE-190 Integer Overflow or Wraparound Numeric Error
CWE-787 Out-of-bounds Write Memory Safety
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| ggml | llama.cpp | * | <2024-01-09 |
References 2
- talosintelligence.com https://talosintelligence.com/vulnerability_reports/TALOS-2024-1915
- talosintelligence.com https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1915
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.