What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: ggml-org llama.cpp b3561. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-42479 or the next vulnerability affects your stack