CVE-2025-0312: NULL Pointer Dereference in ollama/ollama

Published Mar 20, 2025
·
Updated

A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to create a customized GGUF model file that, when uploaded and created on the Ollama server, can cause a crash due to an unchecked null pointer dereference. This can lead to a Denial of Service (DoS) attack via remote network.

Affected Software

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

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-2025-0312?

CVE-2025-0312 is considered to have a high severity as it can lead to Denial of Service (DoS) due to an unchecked null pointer dereference.

2

How do I fix CVE-2025-0312?

To fix CVE-2025-0312, upgrade the Ollama software to a version greater than 0.3.14.

3

What systems are affected by CVE-2025-0312?

CVE-2025-0312 affects Ollama versions 0.3.14 and below.

4

What is the impact of exploiting CVE-2025-0312?

Exploitation of CVE-2025-0312 can lead to a crash of the Ollama server, resulting in a Denial of Service.

5

Can CVE-2025-0312 be exploited remotely?

Yes, CVE-2025-0312 can be exploited remotely by uploading a specially crafted GGUF model file.

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