| Component | llama.cpp |
| Severity | medium (CVSS 5.3) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Published (NVD) | 2024-08-12 |
| Last modified | 2026-06-17 |
| Affected versions | < b3561 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | b3561 |
| Weakness | CWE-125CWE-401 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's analysis gives the same ranges as the CVE record written by GitHub_M, the CNA that assigned the CVE.
NVD description
llama.cpp provides LLM inference in C/C++. The unsafe type member in the rpc_tensor structure can cause global-buffer-overflow. This vulnerability may lead to memory data leakage. The vulnerability is fixed in b3561.
What to do
- Upgrade llama.cpp to
b3561or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
- Run llama.cpp bound to localhost and reach it over a private network rather than an open port. Tailscale for self-hosted AI · Which machine for a 7B model next to an agent · Agent plus local model, the exact setup, €12