PT-2024-2169 · Unknown · Gguf Library
Francesco Benvenuto
·
Published
2024-02-26
·
Updated
2026-04-27
·
CVE-2024-21802
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
GGUF library version prior to the fix of Commit 18c2e17
Description
A heap-based buffer overflow vulnerability exists in the GGUF library's info->ne functionality of llama.cpp. This issue can be exploited by providing a specially crafted .gguf file, potentially leading to code execution. An attacker can trigger this vulnerability by providing a malicious file.
Recommendations
For GGUF library version prior to the fix of Commit 18c2e17, consider avoiding the use of the info->ne functionality until a patch is available. As a temporary workaround, restrict the handling of .gguf files to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Memory Corruption
Buffer Overflow
Heap Based Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gguf Library