Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai

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

High 7.5

In plain English

A high-severity null pointer dereference in ollama/ollama from ollama. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities).

Severity (CVSS 3.0)7.5High
Exploit odds (30 days)0.6%top 48.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/ollama/ollamano fix listedGHSA-p2wh-w96x-w232
Gogithub.com/ollama/ollamano fix listedGO-2025-3582

Affected products (as reported)

VendorProductVersions
ollama ollama/ollama unspecified – through latest

Weakness: CWE-476 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References