GitHub Advisoryadvisory · Go

GHSA-89qx-m49c-8crf Ollama Allows Out-of-Bounds Read

HIGH Published 2025-03-20 Modified 2025-03-22 Official page ↗
Aliases
CVE-2024-12055
Ecosystem
Go
Packages
github.com/ollama/ollama
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-125
Reviewed
2025-03-22

Affected packages

• Go github.com/ollama/ollama: <= 0.3.14 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2024-12055 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… vulnerability

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References