Description
A flaw has been found in ggml-org llama.cpp e15efe0. This vulnerability affects the function transform of the file common/json-schema-to-grammar.cpp of the component JSON-Schema-to-GBNF Conversion. This manipulation causes uncontrolled recursion. The attack may be initiated remotely. The pull request to fix this issue awaits acceptance.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ggml-org | llama.cpp | e15efe0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | llama.cpp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | llama.cpp | No fix yet | — |
| Ubuntu 26.04 LTS | llama.cpp | No fix yet | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | firefox | 140.13.0-1.amzn2023.0.1 | ALAS2023-2026-2069 |
Advisories 1
- ALAS2023-2026-2069 Important: firefox security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 17, 2026
References
- VDB-383354 | ggml-org llama.cpp JSON-Schema-to-GBNF Conversion json-schema-to-grammar.cpp transform recursion vdb-entry technical-description
- VDB-383354 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- CVE-2026-17501 | CVE Analysis and Report third-party-advisory
- Submit #798504 | ggml-org llama.cpp (confirmed on commit e15efe0 / tag b8635+1) Uncontrolled Recursion third-party-advisory
- https://github.com/ggml-org/llama.cpp/issues/25283 issue-tracking
- https://github.com/ggml-org/llama.cpp/pull/25308 issue-tracking patch
- https://github.com/ggml-org/llama.cpp/ product