CVE-2026-52130 Denial of service in n/a

High 7.5 Published Updated

An attacker can cause a denial of service in llama.cpp via uncontrolled recursion in JSON schema processing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-52130?

CVE-2026-52130 is a high-severity denial of service vulnerability in n/a, published on 1 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

llama.cpp b5693 and before is vulnerable to Uncontrolled Recursion in common/json-schema-to-grammar.cpp, resulting in a denial of service.

Weakness: CWE-674

Which versions are affected by CVE-2026-52130?

It affects 1 product.

Products include Ggml Llama.cpp.

How do I fix CVE-2026-52130?

No fix has been published for CVE-2026-52130 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-52130 being exploited?

There is no known exploitation of CVE-2026-52130 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-52130, GHSA-8q78-m7w9-j45m, UBUNTU-CVE-2026-52130.

Is CVE-2026-52130 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free