CVE-2024-42479 CRITICAL

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

Vendor Ggerganov
Product llama.cpp
Weakness CWE-123
Published August 12, 2024
Last update August 13, 2024

CVSS base score

10.0/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 12, 2024 CVE published
August 13, 2024 Record updated