GitHub Advisoryadvisory · Go

GHSA-9gcr-28rp-cc24 Ollama Divide By Zero vulnerability

HIGH Published 2025-03-20 Modified 2025-03-22 Official page ↗
Aliases
CVE-2025-0317
Ecosystem
Go
Packages
github.com/ollama/ollama
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-369
Reviewed
2025-03-22

Affected packages

• Go github.com/ollama/ollama: <= 0.3.14 (no fix yet)

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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (1)

References