Skip to content
HighVulnerabilityLLM-specific

CVE-2024-21802: llama.cpp heap-based buffer overflow in GGUF library via crafted .gguf file

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

Summary

A heap-based buffer overflow in the GGUF library's info->ne functionality of llama.cpp at Commit 18c2e17 is tracked as CVE-2024-21802. A specially crafted .gguf file can lead to code execution, and an attacker can trigger the flaw by supplying such a malicious file.

Mitigation

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