llama.cppのGGUF解析に脆弱性、悪意あるファイルを開くと遠隔からコードを実行される恐れ
Summary
llama.cppでGGUFファイルの解析時にヒープベースのバッファオーバーフローが起きる脆弱性が公表されました。悪意あるページを開いたり、悪意あるファイルを開いたりすると、攻撃者に任意のコードを実行される恐れがあります。CVSSは7.8(高)で、修正版の情報は公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
llama.cppでGGUFファイルの解析時にヒープベースのバッファオーバーフローが起きる脆弱性が公表されました。悪意あるページを開いたり、悪意あるファイルを開いたりすると、攻撃者に任意のコードを実行される恐れがあります。CVSSは7.8(高)で、修正版の情報は公表されていないため、最新の情報を確認してください。
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-126975 llama.cpp Fix available
- Ubuntu UBUNTU-CVE-2026-126975 llama.cpp No fixed version in this record
Original description The description as published by the source.
llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of llama.cpp. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of GGUF files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process. Was ZDI-CAN-34558.
Source: Zero Day Initiative Published Advisories NVD GitHub Advisory