CVE-2026-21869
published high CVSS 3.1 · 8.8llama.cpp has Out-of-bounds Write in llama-server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ggml-org | llama.cpp | <= 55d4206c8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-787 CWE-787: Out-of-bounds Write
References
1Provider assertions
2GitHub_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