Skip to content
HighVulnerabilityLLM-specific

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

Identifier
CVE-2024-23496
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

A heap-based buffer overflow in the GGUF library's gguf_fread_str function in llama.cpp at commit 18c2e17 can lead to code execution. An attacker can trigger it by supplying a specially crafted .gguf file.

Mitigation

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