CVE-2026-137057
7.5, highGgml-org llama.cpp Integer Underflow Vulnerability
- CVSS
- 7.5, high high CVSS v3.1
- EPSS, next 30 days
- n/a
- Exploitation
- No public evidence
- Published
- 25 Nov 2026yesterday
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
- Vendor
- Ggml-org
- Product
- llama.cpp
- Weakness
- CWE-191 (opens in a new tab)
- Status
- Awaiting analysis
- Updated
- 25 Nov 2026
- Assigner
- disclosure@vulncheck.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References 6
Patches and fixes 2
Other references 4
- github.com /ggml-org/llama.cpp/blob/b12603/src/llama-grammar.cpp#L519-L522 (opens in a new tab)
- github.com /ggml-org/llama.cpp/issues/32550 (opens in a new tab)
- github.com /ggml-org/llama.cpp/releases/tag/b12604 (opens in a new tab)
- vulncheck.com /advisories/llama-cpp-b7118-before-b12604-integer-underflow-in-grammar-parser-parse-sequence (opens in a new tab)
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other Ggml-org CVEs
Every Ggml-org CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2026-118375 Ggml-org llama.cpp Out-of-Bounds Write Vulnerability EPSS 0.7% 8.1, high
- CVE-2024-58400 llama.cpp before b3701 contains an out-of-bounds read vulnerability in llama_decode_internal and llama_encode_internal that allows… EPSS 0.8% 8.2, high
- CVE-2026-116816 llama.cpp b5899 before b10261 contains a heap out-of-bounds write vulnerability in llm_tokenizer_plamo2::build that allows attackers to… EPSS 0.2% 7.8, high
Beyond this page
Is CVE-2026-137057 in your network?
This page tells you how dangerous CVE-2026-137057 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-137057 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 26 Nov 2026, not the live upstream state.