Security mailing lists by PureSourceCode

CVE-2025-0317

HIGH 7.5CVSS 3.1

Ollama Divide By Zero vulnerability

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.

Published
20 Mar 2025
Last modified
10 Sep 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-369
Also known as
GHSA-9gcr-28rp-cc24GO-2025-3559
Sources
NVDJSONOSV GHSA-9gcr-28rp-cc24JSONOSV GO-2025-3559JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security@huntr.dev (Secondary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ollama ollama
cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*
<= 0.3.14
OSV Go github.com/ollama/ollama <= 0.3.14
OSV Go github.com/ollama/ollama all versions

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Mar 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.