CVE-2025-66960 Denial of service in n/a

High 7.5 Published Updated

A remote attacker can cause a denial of service in Ollama by sending malicious GGUF metadata that triggers excessive resource consumption during string parsing.

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

What is CVE-2025-66960?

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

Official description

An issue in ollama v.0.12.10 allows a remote attacker to cause a denial of service via the fs/ggml/gguf.go, function readGGUFV1String reads a string length from untrusted GGUF metadata

Weakness: CWE-400, CWE-20

Which versions are affected by CVE-2025-66960?

It affects 1 product.

Products include Ollama Ollama.

How do I fix CVE-2025-66960?

Upgrade to a fixed version.

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-2025-66960 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-66960 exists.

Sources

Also known as GHSA-jr3x-q8gx-4gw3, MINI-hwpp-vf7w-7h4f.

Is CVE-2025-66960 in your software?

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

Check your SBOMs for free