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 package | Versions | Reported by |
|---|---|---|
| ollama ollama/ollama | from unspecified up to latest | CVE List |
| github.com/ollama/ollama (Go) | up to 0.3.14, all versions | GitHub Advisory Database, Go Vulnerability Database |
| ollama ollama | up to 0.3.14 | NVD |
All scores
| @huntr_ai | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
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
| https://huntr.com/bounties/7b111d55-8215-4727-8807-c5ed4cf1bfbe | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-12055 | advisory | |
| https://github.com/ollama/ollama | package | |
| https://github.com/advisories/GHSA-89qx-m49c-8crf | advisory | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-12055 changed 2025-03-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-89qx-m49c-8crf changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3558 changed 2026-06-26 | CC-BY-4.0 |
| NVD | CVE-2024-12055 changed 2026-06-17 | Public domain |