OllamaPublished 20 Mar 2025NVD status: Analyzed

CVE-2024-12055

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.

ComponentOllama
Severityhigh (CVSS 7.5)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published (NVD)2025-03-20
Last modified2026-06-17
Affected versions
<= 0.3.14
from the GitHub-reviewed advisory GHSA-89qx-m49c-8crf
Fixed insee the vendor advisory
WeaknessCWE-125
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis gives the same ranges as the GitHub-reviewed advisory GHSA-89qx-m49c-8crf.

NVD 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.

What to do

Sources

Read more