CVE-2024-8063: Divide by Zero in ollama/ollama

Published Mar 20, 2025
·
Updated

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 blockcount in the Modelfile. This can lead to a denial of service (DoS) condition when the server processes the model, causing it to crash.

Affected Software

3 affected components
Ollama Ollama
Ollama Ollama=0.3.3
go/github.com/ollama/ollama<=0.3.3

Event History

Mar 20, 2025
CVE Published
via MITRE·10:10 AM
Data Sourced
via MITRE·10:10 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:32 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-8063?

CVE-2024-8063 is classified as a high severity vulnerability due to its potential to cause a denial of service condition.

2

How do I fix CVE-2024-8063?

To fix CVE-2024-8063, ensure you update to the latest version of Ollama that addresses this divide by zero issue.

3

What impacts does CVE-2024-8063 have on my system?

CVE-2024-8063 can lead to denial of service, affecting the availability of applications that utilize the affected version of Ollama.

4

Which versions of Ollama are affected by CVE-2024-8063?

CVE-2024-8063 affects Ollama version v0.3.3 specifically.

5

How does CVE-2024-8063 occur?

CVE-2024-8063 occurs when importing GGUF models with a crafted type for `block_count` in the Modelfile.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203