A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the Ollama server. This can lead to a division by zero error in the ggufPadding function, causing the server to crash and resulting in a Denial of Service (DoS) attack.
https://github.com/7h30th3r0n3/OllamaHound
https://huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0
Published: 2025-03-20
Updated: 2025-04-02
Named Vulnerability: GO-2025-3559Named Vulnerability: GHSA-9gcr-28rp-cc24
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C
Severity: High
Base Score: 7.5
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity: High
EPSS: 0.14154