CVE-2025-0317
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.
Scoring
- Severity
- HIGH
- CVSS base score
- 7.5
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS probability
- 14.15%
- CWE
- CWE-369
- Published
- 2025-03-20
- Last modified
- 2026-03-13
Affected products
- ollama ollama/ollama
Weakness type
Related vulnerabilities
- CVE-2026-6244 — division by zero in libpcap before 1.10.7
- CVE-2026-85458 — Divide-by-zero in Xpdf 4.06 due to zero-height Type 3 glyph
- CVE-2026-16897 — Vulnerabilities in IBM AIX and PowerVM VIOS
- CVE-2026-63117 — FreeRDP: Denial of service through ADPCM frame size calculation
- CVE-2026-64951 — Velociraptor DoS triggered by Divide by Zero panic
- CVE-2026-17535 — Velociraptor Multiple Crashes in NTFS Parser when applied to invalid NTFS Volumes
- CVE-2026-19025 — HDF5 divide-by-zero (SIGFPE) via mismatched chunk-layout dimensionality and dataspace rank on dataset open
- CVE-2026-67302 — FreeRDP rdpecam StartStreamsRequest divide-by-zero denial of service