Skip to content
OpenAdvisories
High · 7.5 CVE-2024-12055 EUVD-2025-7036GHSA-89qx-m49c-8crfGO-2025-3558

DoS using malicious gguf model file in ollama/ollama

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

Description

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 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.20250331T171002-1.1 openSUSE-SU-2025:14955-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling mods 1.8.1-r14 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/ollama/ollama <= 0.3.14 — GHSA-89qx-m49c-8crf
Go github.com/ollama/ollama all versions — GO-2025-3558

Advisories 1

References