Skip to content
Fencer Vulns
high 7.5

CVE-2025-0317 in the critical feed json

Divide By Zero in ollama/ollama

published 2025-03-20 19 mo ago modified 2026-09-10 1 mo ago also GHSA-9gcr-28rp-cc24 , GO-2025-3559 , EUVD-2025-6832

cvss
7.5
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
14.5%
EPSS 14.5% chance of exploitation in 30 days, percentile 96%
public exploits
0
none known

Summary

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.

Patch / fix

  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20250331T171002-1.1

opensuse advisories openSUSE-SU-2025:14955-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-0317 updated cvss 7.5

ollama: Divide By Zero in ollama/ollama

  • Red Hat Ansible Automation Platform 2 ansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-25/lightspeed-rhel8, ansible-automation-platform-26/lightspeed-rhel9, ansible-automation-platform-24/platform-resource-runner-rhel8, ansible-automation-platform-25/platform-resource-runner-rhel8, ansible-automation-platform-26/platform-resource-runner-rhel9
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
19 mo ago

Exploit prediction

14.50% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • huntr.com https://huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
go github.com/ollama/ollama
<=0.3.14
all versions
no fix listed

Affected products

  • ollama ollama/ollama

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.