ADVISORIES

GitHub Advisory Database

GHSA-89qx-m49c-8crf

Ollama Allows Out-of-Bounds Read

High No fix available CVE-2024-12055GO-2025-3558

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/ollama/ollama
All versions up to and including 0.3.14

References