Skip to content
HighVulnerabilityLLM-specific

CVE-2024-23605: llama.cpp heap-based buffer overflow in GGUF header parsing via crafted file

Identifier
CVE-2024-23605
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2024-23605 is a heap-based buffer overflow in the GGUF library's header.n_kv functionality in llama.cpp at Commit 18c2e17. A specially crafted .gguf file can trigger the flaw and lead to code execution, and an attacker only needs to supply the malicious file.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.