Medium severity · published Jul 22, 2024
CVE-2024-41130
llama.cpp null pointer dereference in gguf_init_from_file
6.5
CVSS
0.3%
EPSS
No
On KEV
Description
llama.cpp provides LLM inference in C/C++. Prior to b3427, llama.cpp contains a null pointer dereference in gguf_init_from_file. This vulnerability is fixed in b3427.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 27% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LL
llama.cpp · ggerganov
< b3427 · source: vendor, NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-41130
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-41130
Patch
https://github.com/ggerganov/llama.cpp/commit/07283b1a90e1320aae4762c7e03c879043910252
Third Party Advisory
https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-49q7-2jmh-92fp
More from llama.cpp
9.8
CVE-2024-42479
llama.cpp allows write-what-where in rpc_server::set_tensor
9.8
CVE-2024-42478
llama.cpp allows Arbitrary Address Read in rpc_server::get_tensor
9.8
CVE-2024-21825
A heap-based buffer overflow vulnerability exists in the GGUF library GGUF_TYPE_ARRAY/GGUF_TYPE_STRING parsing functionality of llama.cpp Commit 18c2e17
9.8
CVE-2024-23496
A heap-based buffer overflow vulnerability exists in the GGUF library gguf_fread_str functionality of llama.cpp Commit 18c2e17
9.8
CVE-2024-21836
A heap-based buffer overflow vulnerability exists in the GGUF library header.n_tensors functionality of llama.cpp Commit 18c2e17
