CVSS 7.5 · High EPSS 1,3%
Kerentanan Integer Underflow (Wrap or Wraparound). Skor CVSS 3.1 7.5 (High) menurut vulncheck.com.
Deskripsi (NVD)
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.
Rincian
- Terbit di NVD
- 25 November 2026
- Terakhir diubah
- 25 November 2026
- Status NVD
- Awaiting Analysis
- CVSS 3.1
- 7.5 (High), sumber vulncheck.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H· uraikan di kalkulator - Jenis kelemahan (CWE)
- CWE-191: Integer Underflow (Wrap or Wraparound)
- EPSS (30 hari)
- 1,3% peluang dieksploitasi; lebih tinggi dari 69,8% CVE lain
Produk dan versi terdampak
NVD belum mencantumkan data produk (CPE) untuk CVE ini. Produk yang terdampak biasanya disebut di deskripsi dan di advisory vendor pada daftar referensi.
Referensi dan perbaikan
- https://github.com/ggml-org/llama.cpp/blob/b12603/src/llama-grammar.cpp#L519-L522
- https://github.com/ggml-org/llama.cpp/commit/46eb1742db6d2caec1bfa848c5702b1bdcc815e5
- https://github.com/ggml-org/llama.cpp/issues/32550
- https://github.com/ggml-org/llama.cpp/pull/32551
- https://github.com/ggml-org/llama.cpp/releases/tag/b12604
- https://www.vulncheck.com/advisories/llama-cpp-b7118-before-b12604-integer-underflow-in-grammar-parser-parse-s...