CVE-2024-21825
High
Description
A heap-based buffer overflow vulnerability exists in the GGUF library GGUF_TYPE_ARRAY/GGUF_TYPE_STRING parsing 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.
SeverityHigh
CVSS8.8
Exploit probability—
ProductGgml Llama.cpp
PublishedFeb 26, 2024
First seenFeb 26, 2024
Weakness typeCWE-190Integer overflow
How to fix
Update
- ggml llama.cpp2024-01-09 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ggml llama.cpp | v < 2024-01-09 | 2024-01-09 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.