What’s Vulnerable › Vulnerabilities

CVE-2024-21825

Description

A heap-based buffer overflow vulnerability exists in the GGUF library GGUF_TYPE_ARRAY/GGUF_TYPE_STRING parsing 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 products

How to fix

Upgrade to a fixed version: ggml-org llama.cpp 2024-01-09. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-21825 or the next vulnerability affects your stack