Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2024-23496: A heap-based buffer overflow vulnerability exists in the GGUF library gguf_fread_str functionality of llama.cpp Commit 18c2e17. A specially crafted .gguf file can lead to code execution. An attacke...
CVE-2024-23496 · published 2 years ago
Summary
A heap-based buffer overflow vulnerability exists in the GGUF library gguf_fread_str 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.
What to do
- Update ggml llama.cpp to version 2024-01-09 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| ggml | llama.cpp |
< 2024-01-09 cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:* |
Original advisory text
A heap-based buffer overflow vulnerability exists in the GGUF library gguf_fread_str functionality of llama.cpp Commit 18c2e17. A specially crafted .gguf file can lead to code execution. An attacke...
A heap-based buffer overflow vulnerability exists in the GGUF library gguf_fread_str 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.
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2024-1913 Exploit Third Party Advisory
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2024-1913 Exploit Third Party Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-190Integer Overflow
CWE-787Out-of-bounds Write
Timeline
Published26 Feb 2024
Updated4 Nov 2026
First seen29 Sep 2026
Sources
CVE-2024-23496 · NVD
Track software like this
Free during beta