Heap-Based Buffer Overflow Vulnerability in GGUF Library Header
CVE-2024-23605

8.8HIGH

Key Information:

Vendor

Llama.cpp

Status
Vendor
CVE Published:
26 February 2024

What is CVE-2024-23605?

The vulnerability involves a heap-based buffer overflow within the GGUF library's header.n_kv functionality, associated with the llama.cpp framework. By providing a specially crafted .gguf file, an attacker can exploit this vulnerability, potentially leading to unintended code execution. The flaw rests in the improper handling of input data, making it essential for users to be aware of the risks posed by untrusted file sources.

Affected Version(s)

llama.cpp Commit 18c2e17

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Discovered by Francesco Benvenuto of Cisco Talos.
.