CVE-2025-0317

Divide By Zero in ollama/ollama

State
Published
Severity
7.5 High
Published
Mar 20, 2025
Updated
Mar 20, 2025
Reserved
Jan 7, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.07.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H@huntr_ai

Weaknesses

Affected Products

ProductVersions
ollama/ollamaollama
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.