CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-0317: Divide By Zero in ollama/ollama

7.5 CVSS

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.

Classification

CVE ID: CVE-2025-0317

CVSS Base Severity: HIGH

CVSS Base Score: 7.5

CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem Types

CWE-369 Divide By Zero

Affected Products

Vendor: ollama

Product: ollama/ollama

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.06% (probability of being exploited)

EPSS Percentile: 17.22% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-0317
https://huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0

Timeline