CVE-2024-42478

llama.cpp allows Arbitrary Address Read in rpc_server::get_tensor

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 `data` pointer member in the `rpc_tensor` structure can cause arbitrary address reading. This 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-39638 llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause arbitrary address reading. This 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
CPEs cpe:2.3:a:llama.cpp:llama.cpp:*:*:*:*:*:*:*:*
Vendors & Products Llama.cpp
Llama.cpp llama.cpp
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
Type Values Removed Values Added
First Time appeared Llama.cpp
Llama.cpp llama.cpp
CPEs cpe:2.3:a:llama.cpp:llama.cpp:*:*:*:*:*:*:*:*
Vendors & Products Llama.cpp
Llama.cpp 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 `data` pointer member in the `rpc_tensor` structure can cause arbitrary address reading. This vulnerability is fixed in b3561.
Title llama.cpp allows Arbitrary Address Read in rpc_server::get_tensor
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 16, 2024, 7:15 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