StraitOfVuln
Latest / CVE-2026-137057

CVE-2026-137057

HighCVSS 7.5 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-137057
Published / updated
25 Nov 2026, 20:18 UTC · last modified 25 Nov 2026, 20:18 UTC
Severity
HIGH
CVSS score
7.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · Attack vector: Network
Affected vendor
ggml-org
Affected products
llama.cpp
Affected versions
llama.cpp: b7118 to before b12604
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
llama.cpp b12604
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
1.27% probability of exploitation in the next 30 days · 71% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
disclosure@vulncheck.com