Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-17501 EUVD-2026-49061GHSA-h334-888w-8prr

ggml-org llama.cpp JSON-Schema-to-GBNF Conversion json-schema-to-grammar.cpp transform recursion

Published Jul 27, 2026 · Updated Jul 29, 2026 · Assigned by VulDB

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 llama.cpp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 llama.cpp No fix yet —
Ubuntu 26.04 LTS llama.cpp No fix yet —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 firefox 140.13.0-1.amzn2023.0.1 ALAS2023-2026-2069

Advisories 1

References