Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-21869

published high CVSS 3.1 · 8.8

llama.cpp has Out-of-bounds Write in llama-server

Published
07 Jan 2026, 23:37:59 UTC
Updated
08 Jan 2026, 19:15:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ggml-org — llama.cpp<= 55d4206c8 Affected Not stated GitHub_M
SUSE / openSUSE openSUSE-Tumbleweed ggml-develaarch64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed ggml-develppc64le Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed ggml-devels390x Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed ggml-develx86_64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-base0aarch64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-base0ppc64le Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-base0s390x Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
Show 37 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed libggml-base0x86_64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-cpuaarch64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-cpuppc64le Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-cpus390x Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-cpux86_64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-openclaarch64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-openclppc64le Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-opencls390x Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-openclx86_64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-vulkanaarch64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-vulkanppc64le Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-vulkans390x Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml-vulkanx86_64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml0aarch64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml0ppc64le Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml0s390x Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libggml0x86_64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libllama-common0aarch64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libllama-common0ppc64le Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libllama-common0s390x Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libllama-common0x86_64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libllama0aarch64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libllama0ppc64le Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libllama0s390x Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libllama0x86_64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libmtmd0aarch64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libmtmd0ppc64le Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libmtmd0s390x Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed libmtmd0x86_64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed llamacppaarch64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed llamacppppc64le Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed llamacpps390x Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed llamacppx86_64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed llamacpp-develaarch64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed llamacpp-develppc64le Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed llamacpp-devels390x Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1
SUSE / openSUSE openSUSE-Tumbleweed llamacpp-develx86_64 Advisory build 9500-1.1 OPENSUSE-SU-2026:10961-1

Description

llama.cpp is an inference of several LLM models in C/C++. In commits 55d4206c8 and prior, the n_discard parameter is parsed directly from JSON input in the llama.cpp server's completion endpoints without validation to ensure it's non-negative. When a negative value is supplied and the context fills up, llama_memory_seq_rm/add receives a reversed range and negative offset, causing out-of-bounds memory writes in the token evaluation loop. This deterministic memory corruption can crash the process or enable remote code execution (RCE). There is no fix at the time of publication.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ggml-org llama.cpp <= 55d4206c8 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-787 CWE-787: Out-of-bounds Write (GitHub_M · cna)

References

1

Provider assertions

2

GitHub_M · cna

llama.cpp has Out-of-bounds Write in llama-server

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
5ff2a5b5899d0a6fa2a660a7b30cfbb179d04b04b7ff16b2842657620d8380ce
Ingested
23 Sep 2026, 09:05:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected