CVE-2026-137057 llama.cpp - Denial of Service

llama.cpp before b12604 contains an integer underflow vulnerability in llama_grammar_parser::parse_sequence(), letting unauthenticated remote attackers cause denial of service by supplying GBNF repetitions with max lower than min in /completion requests.

CVSS base score 7.5 /10
High
CISA KEV
Not listed
Public exploit
Proof of concept available
Authentication
Not required
EPSS
1.27% chance of exploitation in 30 days
View the NVD record ↗