Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai
CVE-2024-12055DoS using malicious gguf model file in ollama/ollama
High 7.5
In plain English
A high-severity out-of-bounds read in ollama/ollama from ollama. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities).
Severity (CVSS 3.0)7.5High
Exploit odds (30 days)0.8%top 42.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
A vulnerability in Ollama versions <=0.3.14 allows a malicious user to create a customized gguf model file that can be uploaded to the public Ollama server. When the server processes this malicious model, it crashes, leading to a Denial of Service (DoS) attack. The root cause of the issue is an out-of-bounds read in the gguf.go file.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/ollama/ollama | no fix listed | GHSA-89qx-m49c-8crf |
| Go | github.com/ollama/ollama | no fix listed | GO-2025-3558 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ollama | ollama/ollama | unspecified – through latest |
Weakness: CWE-125 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H