脆弱性の一覧へ戻る
編集部の見出し:llama.cpp(トークン ID の検証漏れ、PLaMo2 トークナイザの書き込み)
NVD の情報
llama.cpp b5899 before b10261 contains a heap out-of-bounds write vulnerability in llm_tokenizer_plamo2::build that allows attackers to corrupt heap memory via crafted GGUF models. Attackers can supply BYTE-typed token text like <0x-1> whose negative parsed value writes token ids before the bytes_ buffer during model loading, causing crashes or potential code execution.
- 公開日
- 2026-10-27
- 最終更新(NVD)
- 2026-10-27
- NVD の状態
- Awaiting Analysis
- 脆弱性の種類
- CWE-129
深刻度(CVSS)
- 8.5 HighCVSS 4.0/副/評価:disclosure@vulncheck.com
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - 7.8 HighCVSS 3.1/主/評価:disclosure@vulncheck.com
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
EPSS:今後30日に悪用される推定確率 0.14%(全体の上位 97.1%、評価日 2026-10-30)
解消方法
- llama.cpp のバージョンアップb10261 以降根拠:公告(編集部の転記)
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-10-27 のレポートllama.cpp(トークン ID の検証漏れ、PLaMo2 トークナイザの書き込み)
公告に記載の修正版
- llama.cpp b10261公告
参照(NVD)
- https://github.com/ggml-org/llama.cpp/blob/b10259/src/llama-vocab.cpp#L1376-L1377
- https://github.com/ggml-org/llama.cpp/commit/cf06ad7dfe79e7bf2934150d4fefe1ce8db05490
- https://github.com/ggml-org/llama.cpp/pull/25969
- https://github.com/ggml-org/llama.cpp/pull/26511
- https://github.com/ggml-org/llama.cpp/releases/tag/b10261
- https://www.vulncheck.com/advisories/llama-cpp-b5899-before-b10261-heap-out-of-bounds-write-via-plamo2-tokenizer
NVD から取得:2026-10-30T17:55:20.520Z/EPSS 評価日:2026-10-30
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。