CVE-2025-1975
Improper Validation of Array Index in ollama/ollama
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
Improper Validation of Array Index in ollama/ollama
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.
- Record
CVE-2025-1975- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-129
- Updated
- 2026-11-02
EUVDEUVD-2025-15424
7.5
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.
- Record
EUVD-2025-15424- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-wrh5-cmwx-q2qr
7.5
Ollama Server Vulnerable to Denial of Service (DoS) Attack
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.
- Record
GHSA-wrh5-cmwx-q2qr- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-129
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2025-1975- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-129
- Updated
- 2026-11-02
OSV
7.5
Improper Validation of Array Index in ollama/ollama
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.
- Record
CVE-2025-1975- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-129
- Updated
- 2026-11-02
OSVGHSA-wrh5-cmwx-q2qr
7.5
Ollama Server Vulnerable to Denial of Service (DoS) Attack
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.
- Record
GHSA-wrh5-cmwx-q2qr- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-129
- Updated
- 2026-11-02
OSVPYSEC-2025-145
7.5
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.
- Record
PYSEC-2025-145- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGO-2025-3695 No score
Ollama Server Vulnerable to Denial of Service (DoS) Attack in github.com/ollama/ollama
Ollama Server Vulnerable to Denial of Service (DoS) Attack in github.com/ollama/ollama
- Record
GO-2025-3695- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15159-1 No score
govulncheck-vulndb-0.0.20250523T151856-1.1 on GA media
These are all security issues fixed in the govulncheck-vulndb-0.0.20250523T151856-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15159-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/ollama/ollamaGo |
through 0.5.11 | None known |
github.com/ollama/ollamaGo |
All versions | None known |
govulncheck-vulndbopenSUSE:Tumbleweed From an advisory covering 14 CVEs |
before 0.0.20250523T151856-1.1 | 0.0.20250523T151856-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-1975 is a high vulnerability (CVSS 7.5) in Ollama, published May 16, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.52%, the 44th percentile. No source names a fixed version.
References
huntr.com/bounties/921ba5d4-f1d0-4c66-9764-4f72dffe7acd
nvd.nist.gov/vuln/detail/CVE-2025-1975
pkg.go.dev/vuln/GO-2025-3695
github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-145.yaml
github.com/advisories/GHSA-wrh5-cmwx-q2qr
github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1975.json
Show 16 moreShow less
github.com/ollama/ollama
lists.opensuse.org/archives/list/[email protected]/thread/NBVOKYMJCE2HZLSF5W3H3Q7KEHMMOQR3
suse.com/security/cve/CVE-2024-40120
suse.com/security/cve/CVE-2025-1975
suse.com/security/cve/CVE-2025-2527
suse.com/security/cve/CVE-2025-2570
suse.com/security/cve/CVE-2025-31947
suse.com/security/cve/CVE-2025-3446
suse.com/security/cve/CVE-2025-47282
suse.com/security/cve/CVE-2025-47283
suse.com/security/cve/CVE-2025-47284
suse.com/security/cve/CVE-2025-47290
suse.com/security/cve/CVE-2025-47291
suse.com/security/cve/CVE-2025-48056
suse.com/security/cve/CVE-2025-48069
suse.com/security/cve/CVE-2025-5031