CVE-2024-12055 HIGH

CVE-2024-12055: DoS using malicious gguf model file in ollama/ollama

Vendor Ollama
Product ollama/ollama
Weakness CWE-125
Published March 20, 2025
Last update March 20, 2025

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 20, 2025 CVE published
March 20, 2025 Record updated