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 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.
References
Link Resource
https://huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2025-03-20 10:15

Updated : 2025-04-02 16:07


NVD link : CVE-2025-0317

Mitre link : CVE-2025-0317

CVE.ORG link : CVE-2025-0317


JSON object : View

Products Affected

ollama

  • ollama
CWE
CWE-369

Divide By Zero