mediumCVSS 5.4NVD status: Analyzed

CVE-2024-41130

llama.cpp provides LLM inference in C/C++.

Componentllama.cpp
Severitymedium (CVSS 5.4)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Published (NVD)2024-07-22
Last modified2026-06-17
Affected versions
llama.cpp < b3427
Fixed inb3427
WeaknessCWE-476
CISA KEVnot listed

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.

Does CVE-2024-41130 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for llama.cpp.
Check my stack

What to do

  • Upgrade llama.cpp to b3427 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Other llama.cpp CVEs

All llama.cpp CVEs