Paper/Archive/CVE-2024-42478

CVE-2024-42478

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

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
llama.cpp< b3561–CNA
llama.cpp< b3561b3561CISA-ADP

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial

References

refgithub.com/ggerganov/llama.cpp/security/advisories/GHSA-5vm9-p64x-gqw9refgithub.com/ggerganov/llama.cpp/commit/b72942fac998672a79a1ae3c03b340f7e629980b