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.
総合評価: CVE-2026-21869 は悪用リスクが高い(62.6/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.44%、35 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.22% | 0.44% | +0.22% |
| 2 | 2026-06-05 | 0.36% | 0.22% | -0.15% |
| 3 | 2026-03-16 | — | 0.36% | — |
EPSS の全履歴 (全 6 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-21869 not yet assigned priority: Debian including 1 source packages (llama.cpp), 2 status rows across 2 suites (forky, sid): resolved 2. | https://security-tracker.debian.org/tracker/CVE-2026-21869 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-21869 |
ubuntu
|
medium | CVE-2026-21869 medium priority: Ubuntu including 1 source packages (llama.cpp), 5 status rows across 5 suites (jammy, noble, plucky, questing, upstream): DNE 3, needs-triage 2. | https://ubuntu.com/security/CVE-2026-21869 |
| URL | タグ |
|---|---|
| https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-8947-pfff-2f3c | Exploit Vendor Advisory |