llama.cppPublished 26 Feb 2024NVD status: Analyzed

CVE-2024-23605

A heap-based buffer overflow vulnerability exists in the GGUF library header.n_kv functionality of llama.cpp Commit 18c2e17.

Componentllama.cpp
Severityhigh (CVSS 8.8)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published (NVD)2024-02-26
Last modified2026-06-17
Affected versions
< 2024-01-09
NVD bounds the range with a date (2024-01-09), not a release number: a version cannot be checked against it, the scanner says so
Fixed insee the vendor advisory
WeaknessCWE-190CWE-787
CISA KEVnot listed

Versions, checked against NVD

These are NVD's ranges. Neither a GitHub-reviewed advisory nor the CVE record gives versions to check them against yet.

NVD description

A heap-based buffer overflow vulnerability exists in the GGUF library header.n_kv 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.

What to do

Sources