Llama.cpp Completion Endpoint Memory Corruption Vulnerability
llama.cpp
An out-of-bounds memory write vulnerability exists in llama.cpp due to missing input validation on the n_discard parameter. Exploiting this issue can lead to process crashes or potential remote code execution.
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
- 9.8
- EPSS
- 0.01 · top 55% · 2026-11-13
- fix status
- Fix status unknown
- first report
- 8 Jan 2026
- last update
- 8 Jan 2026
- CVE ids
Timeline · 1
Sources · 1
Advisories and databases
- 2026-01-08CVE-2026-21869: llama.cpp is an inference of several LLM models in C/C++.NVD · nvd.nist.gov/vuln/detail/CVE-2026-21869
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
- Fix status unknown
- targets
- Framework / tooling
- owasp llm top 10
- LLM03:2025 Supply Chain
- mitre atlas
- no technique for these categories
- dates
- happened 8 Jan 2026 · first reported 8 Jan 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.95 · created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z
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
# Llama.cpp Completion Endpoint Memory Corruption Vulnerability https://gcdradar.vercel.app/incidents/llama-cpp-completion-endpoint-memory-corruption-vulnerabilit · AIR-2026-0936 · closed 2026-01-08 - Lane: Patch now - Severity: 2 (Disclosed vulnerability) - Fix status: Fix status unknown - First reported: 2026-01-08 - AI role: Attack on AI - Products: llama.cpp - CVE ids: CVE-2026-21869 - CVSS: 9.8 ## Summary An out-of-bounds memory write vulnerability exists in llama.cpp due to missing input validation on the n_discard parameter. Exploiting this issue can lead to process crashes or potential remote code execution. ## What to do No action recorded; read the sources below and the vendor's advisory. ## Latest updates - 2026-01-08: CVE-2026-21869: llama.cpp is an inference of several LLM models in C/C++. (https://nvd.nist.gov/vuln/detail/CVE-2026-21869) ## Sources - 2026-01-08 NVD: CVE-2026-21869: llama.cpp is an inference of several LLM models in C/C++. https://nvd.nist.gov/vuln/detail/CVE-2026-21869 Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closed3.3llama.cpp CVE-2026-2069: Llama.cpp Stack-Based Buffer Overflow in Grammar Handler
Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-2069
AI - closed9.8llama.cpp CVE-2026-34159: RCE Vulnerability in llama.cpp RPC Backend
Patch now · Disclosed · since 1 Apr 2026 · CVE-2026-34159
AI - closed7.8llama.cpp CVE-2026-33298: Integer overflow in llama.cpp allows remote code execution
Patch now · Disclosed · since 24 Mar 2026 · CVE-2026-33298
AI - closed7.8llama.cpp CVE-2026-27940: Integer overflow in llama.cpp gguf parser
Patch now · Disclosed · since 12 Mar 2026 · CVE-2026-27940
AI - 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