llama.cpp is an inference of several LLM models in C/C++. Prior to version b5662, an attacker‐supplied GGUF model vocabulary can trigger a buffer overflow in llama.cpp’s vocabulary‐loading code. Specifically, the helper _try_copy in llama.cpp/src/vocab.cpp: llama_vocab::impl::token_to_piece() casts a very large size_t token length into an int32_t, causing the length check (if (length < (int32_t)size)) to be bypassed. As a result, memcpy is still called with that oversized size, letting a malicious model overwrite memory beyond the intended buffer. This can lead to arbitrary memory corruption and potential code execution. This issue has been patched in version b5662.
総合評価: CVE-2025-49847 は中リスク(47.3/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.44%、35 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.61% | 0.44% | -0.17% |
| 2 | 2026-04-13 | 0.18% | 0.61% | +0.43% |
| 3 | 2026-03-03 | — | 0.18% | — |
EPSS の全履歴 (全 5 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-49847 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-2025-49847 |
ubuntu
|
medium | CVE-2025-49847 medium priority: Ubuntu including 1 source packages (llama.cpp), 6 status rows across 6 suites (jammy, noble, oracular, plucky, questing, upstream): DNE 4, needs-triage 2. | https://ubuntu.com/security/CVE-2025-49847 |
| URL | タグ |
|---|---|
| https://github.com/ggml-org/llama.cpp/commit/3cfbbdb44e08fd19429fed6cc85b982a91f0efd5 | Patch |
| https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-8wwf-w4qm-gpqr | Mitigation Vendor Advisory |