Out-of-bounds Read in Ggerganov Llama.cpp
CVE-2024-42477
llama.cpp provides LLM inference in C/C++. The unsafe `type` member in the `rpc_tensor` structure can cause `global-buffer-overflow`. This vulnerability may lead to memory data leakage. The vulnerability is fixed in b3561.
Vulnerability class: Buffer Overflow
EPSS: 0.005 (37.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Ggerganov Llama.cpp — versions < b3561
- Ggml Llama.cpp
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-42477?
- CVE-2024-42477 is a medium-severity vulnerability in Ggerganov Llama.cpp, classified under Out-of-bounds Read. CVSS score: 5.3/10. Published 2024-08-12.
- How severe is CVE-2024-42477?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2024-42477 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.