CVE-2024-42477: llama.cpp global-buffer-overflow in ggml_type_size
Published Aug 12, 2024
·Updated
llama.cpp provides LLM inference in C/C++. The unsafe type member in the rpctensor structure can cause global-buffer-overflow. This vulnerability may lead to memory data leakage. The vulnerability is fixed in b3561.
Affected Software
1 affected component
ggml llama.cpp<b3561
Remediation
Event History
Aug 12, 2024
CVE Published
via MITRE·03:02 PM
Data Sourced
via MITRE·03:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Frequently Asked Questions
1
What is the severity of CVE-2024-42477?
CVE-2024-42477 has a severity rating that indicates it may lead to significant memory data leakage issues.
2
How do I fix CVE-2024-42477?
To fix CVE-2024-42477, upgrade to version b3561 or later of llama.cpp.
3
What causes the vulnerability CVE-2024-42477?
CVE-2024-42477 is caused by the unsafe `type` member in the `rpc_tensor` structure that can result in a global buffer overflow.
4
What is the potential impact of CVE-2024-42477?
The potential impact of CVE-2024-42477 includes memory data leakage, which could expose sensitive information.
5
Which versions of llama.cpp are affected by CVE-2024-42477?
Versions of llama.cpp prior to b3561 are affected by CVE-2024-42477.