CVE-2025-0317CWE-369

Divide By Zero in ollama/ollama

High · published March 20, 2025

CVSS v3.0
7.5
EPSS
14%
Percentile
96.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
7.5 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.14154 · 96.6th percentile
Weakness
CWE-369 · Divide By Zero
Published
2025-03-20T10:10Z
EPSS history
Timeline
  • 20 MAR 10:10Z
    Divide By Zero in ollama/ollama
    cvelistv5