Skip to main content
CVE-2026-17501VulnerabilityPublished 07/27/2026Updated 07/29/2026

CVE-2026-17501: Uncontrolled Recursion in ggml-org llama.cpp

Affects ggml-org llama.cppSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 10/25/2026, 04:40:11 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Exploitation

Not in CISA KEV, no exploitation reported

EPSS
0.7% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X

What to do

Affected software

ProductAffectedFixed in
ggml-orgllama.cppAffected–Fixed in–

CPE configurations (1)

  • cpe:2.3:a:ggml-org:llama.cpp:*:*:*:*:*:*:*:*

AI-suggested

A pull request to fix the issue is pending acceptance. Until an official fix is released, users should monitor vendor communications for updates and consider limiting exposure of the affected component to untrusted inputs.

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.

Impact

Successful exploitation of this vulnerability can cause uncontrolled recursion leading to resource exhaustion or denial of service. The attack can be initiated remotely without privileges or user interaction. There are no reports of active exploitation in the wild at this time.

References

Community reviews

Loading reviews…