CVE-2024-12055: DoS using malicious gguf model file in ollama/ollama

Published Mar 20, 2025
·
Updated

A vulnerability in Ollama versions <=0.3.14 allows a malicious user to create a customized gguf model file that can be uploaded to the public Ollama server. When the server processes this malicious model, it crashes, leading to a Denial of Service (DoS) attack. The root cause of the issue is an out-of-bounds read in the gguf.go file.

Affected Software

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

Event History

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

Frequently Asked Questions

1

What is the severity of CVE-2024-12055?

CVE-2024-12055 has a severity rating that reflects the potential for Denial of Service (DoS) due to server crashes.

2

How do I fix CVE-2024-12055?

To fix CVE-2024-12055, upgrade to a version of Ollama that is greater than 0.3.14.

3

What causes the CVE-2024-12055 vulnerability?

The CVE-2024-12055 vulnerability is caused by improperly handling customized gguf model files that malicious users can upload.

4

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

CVE-2024-12055 affects Ollama versions up to and including 0.3.14.

5

What type of attack is associated with CVE-2024-12055?

CVE-2024-12055 is associated with a Denial of Service (DoS) attack as it causes the server to crash.

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