Skip to content
HighVulnerability

CVE-2024-12055: Ollama out-of-bounds read via malicious gguf model file causes denial of service

Identifier
CVE-2024-12055
Published
Record updated
View JSON
Affected
  • github.com/ollama/ollama <= 0.3.14
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

CVE-2024-12055 affects Ollama versions <=0.3.14. A malicious user can create a customized gguf model file and upload it to the public Ollama server. When the server processes the malicious model, it crashes, causing a Denial of Service (DoS). The root cause is an out-of-bounds read in the gguf.go file (CWE-125).

Mitigation

The source does not state a fix yet. Check the original advisory for updates.