CVE-2025-1975 | Improper Validation of Array Index in ollama/ollama

Exp

A vulnerability in the Ollama server version 0.5.11 allows a malicious user to cause a Denial of Service (DoS) attack by customizing the manifest content and spoofing a service. This is due to improper validation of array index access when downloading a model via the /api/pull endpoint, which can lead to a server crash.

Published: 2025-05-16 Last update: 2025-06-24 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-1975 is rated High Exploit Risk (68.2/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.50%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-1975

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-1975

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-12 0.18% 0.50% +0.32%
2 2025-12-28 0.12% 0.18% +0.05%
3 2025-12-27 0.12%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-1975

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2025-1975

GitHub Security Advisory for CVE-2025-1975

GHSA-wrh5-cmwx-q2qr · Severity: high · Ecosystem: go — Ollama Server Vulnerable to Denial of Service (DoS) Attack

OS Trackers for CVE-2025-1975

vendor priority summary link
redhat high https://access.redhat.com/security/cve/CVE-2025-1975
suse high CVE-2025-1975 severity important: SUSE including 4 source package names (gnutls-3.8.3-slfo.1.1_5.1, govulncheck-vulndb-0.0.20250523T151856-1.1, govulncheck-vulndb-0.0.20250814T182633-160000.1.2, libgnutls30-3.8.3-slfo.1.1_5.1), 30 product×package rows across 24 product lines (Image SL-Micro, Image SL-Micro-Base, … (24 product lines)): Fixed 30. https://www.suse.com/security/cve/CVE-2025-1975/

Affected software / configurations for CVE-2025-1975

Vendor Product Version Raw CPE
ollama ollama 0.5.11 cpe:2.3:a:ollama:ollama:0.5.11:*:*:*:*:*:*:*

References for CVE-2025-1975

cvelogic Threat Intelligence