7.5

CVE-2025-0317: Divide By Zero in ollama/ollama

Analyzed
AliasesCGA-gx52-g9g3-4j59CGA-rc39-jr8f-584pCGA-rwx7-vqxr-c26r
Published 20-03-2025Last modified 20-03-2025

Vulnerability summary

CVE-2025-0317 is a high (CVSS 7.5) Divide By Zero vulnerability in ollama. EPSS estimates a 14.39% chance of exploitation in the next 30 days, higher than 96.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.0 (CVE.org)
EPSS score
14.39%
0%100%
Medium · -0.11 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 20-03-2025
    PublishedVulnerability first disclosed.
  2. 20-03-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

14.39%

Chance of exploitation in the next 30 days

Percentile

97%

Versus all other CVEs

30-day change

Decrease -0.11 pp

From 14.50% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (huntr.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard3 products
  • k8sgptAll versions (No fix recorded)
  • mods< 1.8.1-r14
  • ollama-fipsAll versions (No fix recorded)
Ollama2 products
Wolfi2 products
  • k8sgptAll versions (No fix recorded)
  • mods< 1.8.1-r14
Github.com/ollama1 product
  • ollama≤ 0.3.14 | All versions (No fix recorded)

4 vendors · 8 products

References

5 links