CVE-2024-12055

HIGH7.5EPSS 0.07%

Ollama Allows Out-of-Bounds Read

Published: 3/20/2025Modified: 3/31/2025
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 packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (4)