All vulnerabilities

Servers and applications

CVE-2024-39720

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…

Severity
High 8.2
Published
31 Oct 2024
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.1.46
Sources
NVD

Affected software

SoftwareAffected versions
OllamaServers and applications · cpe:a:ollama:ollama
  • Every version before 0.1.46

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-39720
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-39720