VYPR
High severityNVD Advisory· Published Mar 20, 2025· Updated Mar 20, 2025

DoS using malicious gguf model file in ollama/ollama

CVE-2024-12055

Description

Ollama <=0.3.14 suffers from a DoS via out-of-bounds read when processing maliciously crafted gguf model files.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Ollama <=0.3.14 suffers from a DoS via out-of-bounds read when processing maliciously crafted gguf model files.

Root

Cause CVE-2024-12055 is a denial-of-service vulnerability in Ollama versions up to and including 0.3.14. The root cause is an out-of-bounds read in the gguf.go file, triggered when the server parses a specially crafted gguf model file [2]. This flaw allows an unauthenticated, remote attacker to crash the server by uploading a malicious model file.

Attack

Vector An attacker can create a customized gguf model file that exploits the out-of-bounds read in the file parser. This file is then uploaded to a public Ollama server, which processes it and crashes [2]. The vulnerability requires no authentication and can be exploited by anyone able to upload a model—typically the default configuration of the server listens for API calls or model submissions.

Impact

Successful exploitation results in a Denial of Service (DoS) condition: the Ollama server process crashes, interrupting all model serving and API operations [2]. No data confidentiality or integrity is compromised; the impact is purely on availability.

Mitigation

The vulnerability is fixed in Ollama versions beyond 0.3.14. Users are advised to upgrade to the latest release, available from the official GitHub repository and package managers [1]. There are no publicly known workarounds for the affected versions; preventing model uploads from untrusted sources may reduce risk but is not a complete mitigation.

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/ollama/ollamaGo
<= 0.3.14

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.