What’s Vulnerable › Vulnerabilities
CVE-2024-41130: llama.cpp null pointer dereference in gguf_init_from_file
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-22 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- ggml-org llama.cpp: before b3427 — fixed in b3427
How to fix
Upgrade to a fixed version: ggml-org llama.cpp b3427. Check the vendor advisory for mitigations.
References
- https://github.com/ggerganov/llama.cpp/commit/07283b1a90e1320aae4762c7e03c879043910252
- https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-49q7-2jmh-92fp
- https://github.com/ggerganov/llama.cpp/commit/07283b1a90e1320aae4762c7e03c879043910252
- https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-49q7-2jmh-92fp
Get alerted when CVE-2024-41130 or the next vulnerability affects your stack