Denial of Service Vulnerability in Ollama Server by Ollama
CVE-2025-0317

7.5HIGH

Key Information:

Vendor

Ollama

Vendor
CVE Published:
20 March 2025

What is CVE-2025-0317?

A vulnerability exists in Ollama Server versions up to 0.3.14 that allows an unauthorized user to upload a malicious GGUF model file. This action can trigger a division by zero error within the ggufPadding function, causing unexpected server behavior that leads to a Denial of Service (DoS). This can disrupt service availability and impact users relying on the server's functionality.

Affected Version(s)

ollama/ollama <= unspecified

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

CVSS V3.0

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.