Heap-Based Buffer Overflow Vulnerability in GGUF Library
CVE-2024-23496

8.8HIGH

Key Information:

Vendor

Llama.cpp

Status
Vendor
CVE Published:
26 February 2024

What is CVE-2024-23496?

A heap-based buffer overflow vulnerability has been identified in the GGUF library's gguf_fread_str function within llama.cpp. This security issue arises from the improper handling of specially crafted .gguf files, risking unauthorized code execution. An attacker can exploit this flaw by supplying a malicious .gguf file, potentially compromising the affected system. Users of the llama.cpp library should assess their systems and apply necessary updates or mitigations to safeguard against this vulnerability.

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.
.