# CVE-2024-41130: llama.cpp null pointer dereference in gguf_init_from_file

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2024-07-22T17:28:47.708Z
- Modified: 2026-06-17T07:47:20.163Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ggerganov llama.cpp: < b3427; before b3427
- ggml llama.cpp: before b3427

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ggerganov/llama.cpp/security/advisories/GHSA-49q7-2jmh-92fp> (third-party-advisory)
- <https://github.com/ggerganov/llama.cpp/commit/07283b1a90e1320aae4762c7e03c879043910252> (patch)

## Sources

- CVE List: [CVE-2024-41130](https://www.cve.org/CVERecord?id=CVE-2024-41130), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-41130](https://nvd.nist.gov/vuln/detail/CVE-2024-41130), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41130 · Whole record: https://cve.day/CVE-2024-41130.json · Rebuilt by cve.day 2026-11-25T22:58:43.152Z
