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

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-16T08:25:57.177Z
- Modified: 2026-09-10T03:50:24.688Z
- Also known as: GHSA-wrh5-cmwx-q2qr, GO-2025-3695, PYSEC-2025-145
- Related: CGA-63jp-hpjv-73mh
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

- ollama ollama/ollama: from unspecified up to latest
- github.com/ollama/ollama (Go): up to 0.5.11; all versions
- ollama ollama: 0.5.11
- ollama (PyPI): up to 0.5.11

## Every score

- @huntr_ai: 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`
- GitHub: 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`
- PyPA Advisory Database: 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`

## References

- <https://huntr.com/bounties/921ba5d4-f1d0-4c66-9764-4f72dffe7acd> (exploit, evidence, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1975> (advisory)
- <https://github.com/ollama/ollama> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-145.yaml> (web)
- <https://pkg.go.dev/vuln/GO-2025-3695> (web)
- <https://github.com/advisories/GHSA-wrh5-cmwx-q2qr> (advisory)

## Sources

- CVE List: [CVE-2025-1975](https://www.cve.org/CVERecord?id=CVE-2025-1975), CVE Terms of Use, modified 2025-05-16
- GitHub Advisory Database: [GHSA-wrh5-cmwx-q2qr](https://github.com/advisories/GHSA-wrh5-cmwx-q2qr), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3695](https://pkg.go.dev/vuln/GO-2025-3695), CC-BY-4.0, modified 2026-06-10
- NVD: [CVE-2025-1975](https://nvd.nist.gov/vuln/detail/CVE-2025-1975), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-145](https://osv.dev/vulnerability/PYSEC-2025-145), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2025-1975 · Whole record: https://cve.day/CVE-2025-1975.json · Rebuilt by cve.day 2026-11-25T22:58:58.123Z
