| Component | llama.cpp |
| Severity | medium (CVSS 5.4) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
| Published (NVD) | 2024-07-22 |
| Last modified | 2026-06-17 |
| Affected versions | < b3427 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | b3427 |
| Weakness | CWE-476 |
| 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++. Prior to b3427, llama.cpp contains a null pointer dereference in gguf_init_from_file. This vulnerability is fixed in b3427.
What to do
- Upgrade llama.cpp to
b3427or 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