CVE-2024-58399: llama.cpp Out-of-Bounds Read Vulnerability
llama.cpp
Llama.cpp contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory outside the mapped model file via crafted GGUF tensor offsets. Attackers can supply a crafted GGUF model file to crash the process or load adjacent memory.
why this severityDisclosed vulnerability with medium rating and no confirmed exploitation.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
- CVSS
- 6.9
- EPSS
- <0.01 · top 99% · 2026-11-13
- fix status
- Patched
- fixed in
- b2731
- first report
- 27 Oct 2026
- last update
- 27 Oct 2026
- CVE ids
What to do
Update to version b2731 or later.
Timeline · 1
Sources · 1
Advisories and databases
- 2026-10-27CVE-2024-58399: llama.cpp before b2731 contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory…NVD · nvd.nist.gov/vuln/detail/CVE-2024-58399
Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- lane
- Patch now
- AI role
- Attack on AI
- categories
- Infrastructure vulnerability
- severity
- 2 · Disclosed vulnerability
- fix status
- Patched
- targets
- Framework / tooling
- owasp llm top 10
- LLM03:2025 Supply Chain
- mitre atlas
- no technique for these categories
- dates
- happened 27 Oct 2026 · first reported 27 Oct 2026
- origin
- NVDVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- record
- confidence 0.90 · created 2026-10-27 15:31Z · updated 2026-10-27 15:31Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# CVE-2024-58399: llama.cpp Out-of-Bounds Read Vulnerability https://gcdradar.vercel.app/incidents/cve-2024-58399-llama-cpp-out-of-bounds-read-vulnerability · AIR-2026-1576 · closed 2026-10-27 - Lane: Patch now - Severity: 2 (Disclosed vulnerability): Disclosed vulnerability with medium rating and no confirmed exploitation. - Fix status: Patched - First reported: 2026-10-27 - AI role: Attack on AI - Products: llama.cpp - CVE ids: CVE-2024-58399 - CVSS: 6.9 ## Summary Llama.cpp contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory outside the mapped model file via crafted GGUF tensor offsets. Attackers can supply a crafted GGUF model file to crash the process or load adjacent memory. ## What to do Update to version b2731 or later. ## Affected and fixed versions - Fixed in: b2731 ## Latest updates - 2026-10-27: CVE-2024-58399: llama.cpp before b2731 contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory… (https://nvd.nist.gov/vuln/detail/CVE-2024-58399) ## Sources - 2026-10-27 NVD: CVE-2024-58399: llama.cpp before b2731 contains an out-of-bounds read vulnerability in llama_model_loader that allows attackers to read memory… https://nvd.nist.gov/vuln/detail/CVE-2024-58399 Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closed8.7llama.cpp CVE-2026-119052: llama.cpp uncaught exception in ggml-rpc server
Patch now · Disclosed · since 29 Oct 2026 · CVE-2026-119052
AI - closed9.2llama.cpp CVE-2026-118375: llama.cpp out-of-bounds write in RDMA transport
Patch now · Disclosed · Patched · since 28 Oct 2026 · CVE-2026-118375
AI - closed6.9llama.cpp CVE-2026-116467: llama.cpp Mirostat Sampler assertion vulnerability
Patch now · Disclosed · No patch yet · since 26 Oct 2026 · CVE-2026-116467
AI - closed5.3llama.cpp CVE-2026-116096: Heap out-of-bounds write in llama.cpp Pocket-TTS component
Patch now · Exploited · since 25 Oct 2026 · CVE-2026-116096
AI - closed9.2llama.cpp CVE-2026-107183: Use-after-free and double free vulnerability in llama.cpp
Patch now · Disclosed · since 7 Oct 2026 · CVE-2026-107183
AI - closed6.9llama.cpp CVE-2026-86317: Assertion failure in ggml-org llama.cpp RPC server
Patch now · Disclosed · since 7 Sep 2026 · CVE-2026-86317
AI