Ollama Divide by Zero Vulnerability
High severity
GitHub Reviewed
Published
Mar 20, 2025
to the GitHub Advisory Database
•
Updated May 15, 2025
Description
Published by the National Vulnerability Database
Mar 20, 2025
Published to the GitHub Advisory Database
Mar 20, 2025
Reviewed
May 15, 2025
Last updated
May 15, 2025
A divide by zero vulnerability exists in ollama/ollama version v0.3.3. The vulnerability occurs when importing GGUF models with a crafted type for
block_count
in the Modelfile. This can lead to a denial of service (DoS) condition when the server processes the model, causing it to crash.References