CVE-2026-137057
Last modified
CVE-2026-137057 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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..
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ggml-org | llama.cpp | >= b7118, < b12604 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-137057?
How severe is CVE-2026-137057?
How do I fix CVE-2026-137057?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-137036A flaw was found in bootc. On a sealed composefs boot, a fai…6.8
- CVE-2026-13704The GiveWP – Donation Plugin and Fundraising Platform plugin…6.4
- CVE-2026-137043A security vulnerability has been detected in TOTOLINK N350R…10
- CVE-2026-137046A vulnerability was detected in mahmoudai1 school-management…7.3
- CVE-2026-13705Imager versions before 1.032 for Perl have a heap out-of-bou…7.1
- CVE-2026-137056DeepSeek-Reasonix before 2.53.0 contains a command execution…8.8
- CVE-2026-137058Cron-parser through 5.10.0 contains an unbounded memory allo…7.5
- CVE-2026-137059ToolJet from 3.16.0 before 3.20.256 contains an improper sig…5.9
- CVE-2026-13706Improper input validation vulnerability in Wikimedia Foundat…8.8
- CVE-2026-137060paramz through 0.10.0 contains an insecure deserialization v…7.8
- CVE-2026-137061Wallos before 5.11.2 contains an infinite loop vulnerability…6.5
- CVE-2026-137062BookStack before 26.09.3 contains an incorrect authorization…4.3
Are you affected by CVE-2026-137057?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
