Skip to content
STAGE33R

CVE-2026-137057

HIGH 7.5

Summary

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.

Key facts

  • Vendor: ggml-org
  • CVSS 3.1: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
  • EPSS (30-day exploitation probability): 1.27%
  • Published: 2026-11-25
  • Last modified: 2026-11-25
  • Weakness: CWE-191

Data aggregated from NVD, CISA KEV, FIRST EPSS and OSV.dev. Updated 2026-12-02.

Get alerts and watchlists for vulnerabilities like this · Browse all vulnerabilities