CVE-2025-1975 json
Improper Validation of Array Index in ollama/ollama
published 2025-05-16 17 mo ago modified 2026-09-10 1 mo ago also GHSA-wrh5-cmwx-q2qr , GO-2025-3695 , PYSEC-2025-145 , EUVD-2025-15424
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250523T151856-1.1
opensuse advisories openSUSE-SU-2025:15159-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-1975 updated cvss 7.5
ollama: Improper Validation of Array Index in ollama/ollama
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-25/lightspeed-rhel8, ansible-automation-platform-24/platform-resource-runner-rhel8, ansible-automation-platform-25/platform-resource-runner-rhel9not 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
- 17 mo ago
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/921ba5d4-f1d0-4c66-9764-4f72dffe7acd 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 |
| 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.5.11 all versions |
no fix listed |
Affected products
- ollama ollama/ollama
Classification
- Weakness
-
- CWE-129 Improper Validation of Array Index
References
-
huntr.com
/bounties/921ba5d4-f1d0-4c66-9764-4f72dffe7acd
web, exploit, third-party-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2025-1975
advisory
-
github.com
/ollama/ollama
package
-
github.com
/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-145.yaml
web
-
pkg.go.dev
/vuln/GO-2025-3695
web
-
github.com
/advisories/GHSA-wrh5-cmwx-q2qr
advisory
Sources
- CVE List CVE-2025-1975
- GitHub Advisory GHSA-wrh5-cmwx-q2qr
- NVD CVE-2025-1975
- OSV PYSEC-2025-145
- OSV GO-2025-3695
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.