mediumCVSS 5.3NVD status: Analyzed

CVE-2024-42478

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

Componentllama.cpp
Severitymedium (CVSS 5.3)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published (NVD)2024-08-12
Last modified2026-06-17
Affected versions
llama.cpp < b3561
Fixed inb3561
WeaknessCWE-125
CISA KEVnot listed

NVD description

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.

Does CVE-2024-42478 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 b3561 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