ADVISORIES

GitHub Advisory Database

GHSA-9gcr-28rp-cc24

Ollama Divide By Zero vulnerability

High No fix available CVE-2025-0317GO-2025-3559

Details

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

EcosystemPackageAffected versions
Gogithub.com/ollama/ollama
All versions up to and including 0.3.14

References