
CVE catalog
CVE-2026-21869
ggml-devel-9500-1.1 on GA media
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.53% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | llama.cpp | 14 | 5151+dfsg-1~exp2 | vulnerable |
| Debian | llama.cpp | 14 | 5151+dfsg-1~exp3 | vulnerable |
| Debian | llama.cpp | 14 | 5318+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 5318+dfsg-2 | vulnerable |
| Debian | llama.cpp | 14 | 5713+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 5760+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 5760+dfsg-2 | vulnerable |
| Debian | llama.cpp | 14 | 5760+dfsg-3 | vulnerable |
| Debian | llama.cpp | 14 | 5760+dfsg-4 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-2 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-3 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-3~exp1 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-3~exp2 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-3~exp3 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-4 | vulnerable |
| Debian | llama.cpp | 14 | 6641+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 6641+dfsg-2 | vulnerable |
| Debian | llama.cpp | 14 | 6641+dfsg-3 | vulnerable |
| Debian | llama.cpp | 14 | 7593+dfsg-1 | fixed |
| Opensuse | llamacpp | tumbleweed | 9500-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | llama.cpp | deb | 14 | 7593+dfsg-1 | Not reported | DEBIAN-CVE-2026-21869 | Not reported |
| Opensuse | llamacpp | rpm | tumbleweed | 9500-1.1 | Not reported | OPENSUSE-SU-2026:10961-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [ggml-devel]Unknown
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedUnknown · Fixed:
9500-1.1Version impact unknown
pypi · llamacpp · opensuse · tumbleweed
- [libggml0]Unknown
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedUnknown · Fixed:
9500-1.1Version impact unknown
pypi · llamacpp · opensuse · tumbleweed
- [libggml-base0]Unknown
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedUnknown · Fixed:
9500-1.1Version impact unknown
pypi · llamacpp · opensuse · tumbleweed
- [libggml-cpu]Unknown
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedUnknown · Fixed:
9500-1.1Version impact unknown
pypi · llamacpp · opensuse · tumbleweed
- [libggml-opencl]Unknown
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedUnknown · Fixed:
9500-1.1Version impact unknown
pypi · llamacpp · opensuse · tumbleweed
- [libggml-openvino]Unknown
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedUnknown · Fixed:
9500-1.1Version impact unknown
pypi · llamacpp · opensuse · tumbleweed
- [libggml-vulkan]Unknown
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedUnknown · Fixed:
9500-1.1Version impact unknown
pypi · llamacpp · opensuse · tumbleweed
- [libllama0]Unknown
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedUnknown · Fixed:
9500-1.1Version impact unknown
pypi · llamacpp · opensuse · tumbleweed
- [libllama-common0]Unknown
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedUnknown · Fixed:
9500-1.1Version impact unknown
pypi · llamacpp · opensuse · tumbleweed
- [libmtmd0]Unknown
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedUnknown · Fixed:
9500-1.1Version impact unknown
pypi · llamacpp · opensuse · tumbleweed
- [llamacpp-devel]Unknown
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedUnknown · Fixed:
9500-1.1Version impact unknown
pypi · llamacpp · opensuse · tumbleweed
- [llamacpp]Fixed
Source package: [llamacpp]
Details (1)
10154-1.3· x86_64 · tumbleweedFixed · Fixed:
9500-1.1pypi · llamacpp · opensuse · tumbleweed
Observed: