Skip to content
High 8.7

llama.cppに認証なしで サービスを停止させられる脆弱性

CVE-2026-137057 First seen on SecPulse

Summary

llama.cppのGBNF文法の解析処理に整数アンダーフローの脆弱性があり、認証なしの遠隔の攻撃者がサービス拒否の状態にできます。影響を受けるのはb7118からb12604より前のllama.cppで、修正版はb12604です。修正版への更新を優先してください。

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のGBNF文法の解析処理に整数アンダーフローの脆弱性があり、認証なしの遠隔の攻撃者がサービス拒否の状態にできます。影響を受けるのはb7118からb12604より前のllama.cppで、修正版はb12604です。修正版への更新を優先してください。

Affected packages

PackageAffected → Fixed
ggml-orgllama.cpp
≥ b7118, < b12604→ b12604

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

llama.cpp from b7118 before b12604 contains an integer underflow vulnerability in llama_grammar_parser::parse_sequence() that allows unauthenticated remote attackers to cause denial of service by supplying GBNF repetitions with max lower than min. Attackers can send a grammar like {5,2} in the grammar field of a llama-server /completion request, wrapping n_opt to generate endless repetition rules that hang the process and exhaust memory.

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