Skip to main content
← All vulnerabilities
CVE-2024-39720GHSA-95J2-W8X7-HM88GO-2024-3245

An issue was discovered in Ollama before 0.1.46.

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

Summary

An issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a malformed GGUF file containing just 4 bytes starting with the GGUF custom magic header. By leveraging a custom Modelfile that includes a FROM statement pointing to the attacker-controlled blob file, the attacker can crash the application through the CreateModel route, leading to a segmentation fault (signal SIGSEGV: segmentation violation).

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • github.com/ollama/ollamaGo

    fixed in 0.1.46

References 2

GitHub · ollama/ollama

oligo.security