gcdRadar
archive/Patch now/AIR-2026-0936
closedclosed 8 Jan 2026Patch now2 Disclosed vulnerabilityAI

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

Timeline · 1

  1. 8 Jan 2026CVE-2026-21869: llama.cpp is an inference of several LLM models in C/C++.

Sources · 1

Advisories and databases

  1. 2026-01-08

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

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
NVD
Vulnerability 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

  1. closed3.3
    llama.cpp CVE-2026-2069: Llama.cpp Stack-Based Buffer Overflow in Grammar Handler

    Patch now · Disclosed · since 6 Feb 2026 · CVE-2026-2069

    AI
  2. closed9.8
    llama.cpp CVE-2026-34159: RCE Vulnerability in llama.cpp RPC Backend

    Patch now · Disclosed · since 1 Apr 2026 · CVE-2026-34159

    AI
  3. closed7.8
    llama.cpp CVE-2026-33298: Integer overflow in llama.cpp allows remote code execution

    Patch now · Disclosed · since 24 Mar 2026 · CVE-2026-33298

    AI
  4. closed7.8
    llama.cpp CVE-2026-27940: Integer overflow in llama.cpp gguf parser

    Patch now · Disclosed · since 12 Mar 2026 · CVE-2026-27940

    AI
  5. closed8.7
    llama.cpp CVE-2026-119052: llama.cpp uncaught exception in ggml-rpc server

    Patch now · Disclosed · since 29 Oct 2026 · CVE-2026-119052

    AI
  6. closed9.2
    llama.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