Skip to main content
← All vulnerabilities
CVE-2025-0317GO-2025-3559GHSA-9GCR-28RP-CC24

Divide By Zero in ollama/ollama

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • ollama ollama/ollama

    Version range not reported

  • github.com/ollama/ollamaGo

    All versions

  • github.com/ollama/ollamaGo

    through 0.3.14

References 1

huntr.com