CVE-2024-21836
A heap-based buffer overflow vulnerability exists in the GGUF lib ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rapidfort alpine 3.20 | llama.cpp | no fix listed |
| rapidfort alpine 3.21 | llama.cpp | no fix listed |
| rapidfort alpine 3.22 | llama.cpp | no fix listed |
| rapidfort alpine 3.23 | llama.cpp | no fix listed |
| rapidfort alpine 3.24 | llama.cpp | no fix listed |