OllamaPublished 20 Mar 2025NVD status: Analyzed

CVE-2025-0317

A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the 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-9gcr-28rp-cc24
Fixed insee the vendor advisory
WeaknessCWE-369
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis gives the same ranges as the GitHub-reviewed advisory GHSA-9gcr-28rp-cc24.

NVD description

A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the Ollama server. This can lead to a division by zero error in the ggufPadding function, causing the server to crash and resulting in a Denial of Service (DoS) attack.

What to do

Sources

Read more