CVE-2025-66960

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…

High · published January 21, 2026

CVSS v3.1
7.5
EPSS
0%
Percentile
35.7
In the wild
Unconfirmed
What it is

⚡ A single call to readGGUFV1String can bring your app to its knees! This vulnerability in ollama v.0.12.10 opens the door to a denial of service attack via untrusted GGUF metadata. 🔥 Think of it like a restaurant that takes orders based on handwritten notes from customers. If the server misreads a note and brings out a mountain of food for one person, it can overwhelm the kitchen and leave everyone waiting too long for their meals! An attacker could exploit this flaw to send specially crafted metadata, causing the application to hang or crash, leaving users unable to access the service. This denial of service could result in downtime, loss of revenue, and frustrated customers.

Put simply

Think of it like a restaurant that takes orders based on handwritten notes from customers. If the server misreads a note and brings out a mountain of food for one person, it can overwhelm the kitchen and leave everyone waiting too long for their meals! This vulnerability arises from the readGGUFV1String function in ollama, which reads string lengths from untrusted GGUF metadata without appropriate validation, allowing for unintended resource consumption.

What to do

An attacker could exploit this flaw to send specially crafted metadata, causing the application to hang or crash, leaving users unable to access the service. This denial of service could result in downtime, loss of revenue, and frustrated customers. To protect your application, immediately update ollama to version 0.12.11 or later. Additionally, review your input validation processes to ensure untrusted data is handled cautiously. You've got this! By taking these steps, you’re well on your way to securing your system. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00425 · 35.7th percentile
Published
2026-01-21T00:00Z
EPSS history
Timeline
  • 21 JAN 00:00Z
    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…
    cvelistv5