NetSight
high7.5

CVE-2025-0317

Ollama Divide By Zero vulnerability

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/ollama/ollama<= 0.3.14none recorded

Affected products

VendorProductAffected versions
OllamaOllama
through 0.3.14

Weakness classification

References