Skip to content
High 8.5

llama.cppの脆弱性、細工したGGUFモデルで heap 領域の外に書き込まれるおそれ

CVE-2026-116816 First seen on SecPulse

Summary

llama.cppのb5899以降b10261より前のバージョンには、plamo2トークナイザーの処理に脆弱性があります。細工したGGUFモデルを読み込ませると、ヒープメモリの範囲外に書き込まれ、異常終了やコード実行につながるおそれがあります。修正版はb10261です。すでに利用している場合は、b10261以降に更新してください。

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

llama.cppのb5899以降b10261より前のバージョンには、plamo2トークナイザーの処理に脆弱性があります。細工したGGUFモデルを読み込ませると、ヒープメモリの範囲外に書き込まれ、異常終了やコード実行につながるおそれがあります。修正版はb10261です。すでに利用している場合は、b10261以降に更新してください。

Affected packages

EcosystemPackageAffectedFixed
ggml-org llama.cpp
≥ b5899, < b10261
b10261

Fix status by distribution

Fixed packages published by each distribution for this CVE

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details