Skip to content
HighVulnerability

CVE-2024-8063: Ollama divide by zero via crafted block_count in GGUF model import

Identifier
CVE-2024-8063
Published
Record updated
View JSON
Affected
  • github.com/ollama/ollama <= 0.3.3
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.6%

Summary

CVE-2024-8063 is a divide by zero flaw (CWE-369) in ollama/ollama version v0.3.3. It is triggered when GGUF models are imported with a crafted type for `block_count` in the Modelfile. The server crashes when it processes such a model, causing a denial of service (DoS).

Mitigation

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