Skip to content
OpenAdvisories
High · 7.5 CVE-2025-0312 EUVD-2025-6816GHSA-p2wh-w96x-w232GO-2025-3582

NULL Pointer Dereference in ollama/ollama

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

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 products

VendorProductAffectedFixed
ollama ollama/ollama unspecified – ≤ latest —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250402T160203-1.1 openSUSE-SU-2025:14970-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling mods 1.8.1-r14 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/ollama/ollama <= 0.3.14 — GHSA-p2wh-w96x-w232
Go github.com/ollama/ollama all versions — GO-2025-3582

Advisories 1

References