CVE-2025-0317
HIGH7.5EPSS 2.1%Ollama Divide By Zero vulnerability
Published: 3/20/2025Modified: 3/31/2025
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.
Affected packages (2)
- Go/github.com/ollama/ollamafrom 0, <= 0.3.14
- Go/github.com/ollama/ollamafrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |