HIGHCVSS v3.1 7.5Vulnerability

CVE-2026-137057

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.

Properties

Severity
HIGH
Nvd fetched at
2026-11-25T21:24:54.790474+00:00
Cvss severity
HIGH
Cvss score
7.5
Retrieved at
2026-11-25T21:25:28+00:00
Score
7.5
Cvss version
3.1
Last source
NVD
Cve id
CVE-2026-137057
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
First seen by Signal
2026-11-25T21:21:01+00:00
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published at
2026-11-25T20:18:39.307
Last modified
2026-11-25T20:18:39.450

Related Entities (1)

HAS_WEAKNESS (1)

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-137057 (CVSS v3.1 7.5) — Ninja Signal Threat Intelligence | Ninja Signal