1 min read
llama.cpp json-schema-to-grammar Uncontrolled Recursion DoS
A deeply nested JSON schema exhausts the recursion stack in llama.cpp's grammar converter, crashing the server. Only POST /completions is affected (CVE-2026-52130).
Read full article