INCIDENT MAP

Browse / Unsafe Model Loading and Supply Chain / CVE-2024-12055

Ollama Allows Out-of-Bounds Read

CVE-2024-12055 ยท 2025-03-20 high

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Denial of service
Affected
github.com/ollama/ollama (Go)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% chance of exploitation in 30 days

How it works, in short

A crafted GGUF model file triggers an out-of-bounds read during parsing when the server loads it, crashing the process. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.