CVE-2024-12055
JSON

7.5high

DoS using malicious gguf model file in ollama/ollama

Severity
7.5high CVSS:3.0 by @huntr_ai
Exploit likelihood
0.82% (higher than 58% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai
Also known as
GHSA-89qx-m49c-8crfGO-2025-3558

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

Product or packageVersionsReported by
ollama ollama/ollamafrom unspecified up to latestCVE List
github.com/ollama/ollama (Go)up to 0.3.14, all versionsGitHub Advisory Database, Go Vulnerability Database
ollama ollamaup to 0.3.14NVD

All scores

@huntr_ai7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

Go Vulnerability Database

Ollama Allows Out-of-Bounds Read in github.com/ollama/ollama

NVD (es)

Una vulnerabilidad en las versiones de Ollama anteriores a la 0.3.14 permite a un usuario malicioso crear un archivo de modelo gguf personalizado que puede subirse al servidor público de Ollama. Cuando el servidor procesa este modelo malicioso, se bloquea, lo que provoca un ataque de denegación de servicio (DoS). La causa principal del problema es una lectura fuera de los límites en el archivo gguf.go.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2024-12055 changed 2025-03-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-89qx-m49c-8crf changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3558 changed 2026-06-26CC-BY-4.0
NVDCVE-2024-12055 changed 2026-06-17Public domain