- Accueil
- Vulnérabilités
- CVE-2026-137057
CVE-2026-137057
llama.cpp b7118 before b12604 Integer Underflow in Grammar Parser parse_sequence
Moyen
56/100
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
ggml-org (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| llama.cpp | de b7118 (inclus) à b12604 (exclu) |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/ggml-org/llama.cpp/pull/32551issue-tracking, patch
- https://github.com/ggml-org/llama.cpp/commit/46eb1742db6d2caec1bfa848c5702b1bdcc815e5patch
- https://github.com/ggml-org/llama.cpp/issues/32550exploit
- https://github.com/ggml-org/llama.cpp/blob/b12603/src/llama-grammar.cpp#L519-L522technical-description
- https://github.com/ggml-org/llama.cpp/releases/tag/b12604release-notes
- https://www.vulncheck.com/advisories/llama-cpp-b7118-before-b12604-integer-underflow-in-grammar-parser-parse-sequencethird-party-advisory
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-191 · Corruption mémoire