CVE-2024-42477

llama.cpp global-buffer-overflow in ggml_type_size

Published Aug 12, 2024 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-39637 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.
History
Type Values Removed Values Added
First Time appeared Ggml
Ggml llama.cpp
CPEs cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*
Vendors & Products Ggml
Ggml llama.cpp
Type Values Removed Values Added
Metrics epss

{'score': 0.00055}

epss

{'score': 0.00045}

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
First Time appeared Ggerganov
Ggerganov llama.cpp
CPEs cpe:2.3:a:ggerganov:llama.cpp:*:*:*:*:*:*:*:*
Vendors & Products Ggerganov
Ggerganov llama.cpp
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title llama.cpp global-buffer-overflow in ggml_type_size
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2024, 2:07 PM
Reserved
Aug 2, 2024, 2:13 PM
Status
Analyzed
Published
Aug 12, 2024, 3:15 PM
Modified
Jun 17, 2026, 7:49 AM
Severity
Moderate
Public date
Aug 12, 2024, 12:00 AM