CVE-2024-42479

llama.cpp allows write-what-where in rpc_server::set_tensor

Published Aug 12, 2024 CVSS 3.1 · 10 Critical EPSS 2.6% 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 writing. 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-39639 llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause arbitrary address writing. 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
Metrics epss

{'score': 0.00986}

epss

{'score': 0.00805}

Type Values Removed Values Added
Weaknesses CWE-787
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': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, '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 writing. This vulnerability is fixed in b3561.
Title llama.cpp allows write-what-where in rpc_server::set_tensor
Weaknesses CWE-123
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2024, 1:47 PM
Reserved
Aug 2, 2024, 2:13 PM
Status
Analyzed
Published
Aug 12, 2024, 3:15 PM
Modified
Jun 17, 2026, 7:49 AM