Bug 2584480 (CVE-2026-137057) - CVE-2026-137057 llama.cpp: llama.cpp: Denial of Service via integer underflow in grammar parser
Summary: CVE-2026-137057 llama.cpp: llama.cpp: Denial of Service via integer underflow...
Keywords:
Status: NEW
Alias: CVE-2026-137057
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-25 19:43 UTC by OSIDB Bzimport
Modified: 2026-11-25 20:09 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-25 19:43:48 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.