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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-05-16 · Modified: 2025-05-16
- Aliases: PYSEC-2025-145, GHSA-wrh5-cmwx-q2qr, GO-2025-3695, CGA-3wxx-45fm-v6c9, CGA-72hr-7wg3-7h8x, CGA-mv58-mqhf-xpq6, CGA-xcv7-gv4h-j3wm, CGA-c9mr-f6xg-34wg, CGA-wj9v-5fv3-6jw4
- Record: https://cvemate.com/vulnerability/CVE-2025-1975 · JSON: https://cvemate.com/vulnerability/CVE-2025-1975/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.525%, percentile 46.026%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- chainguard k8sgpt (Chainguard): \< 0.4.28-r0
- chainguard mods (Chainguard): \< 1.8.1-r14
- chainguard ollama-fips (Chainguard): All versions (No fix recorded)
- wolfi k8sgpt (Wolfi): \< 0.4.28-r0
- wolfi mods (Wolfi): \< 1.8.1-r14
- github.com/ollama ollama (Go): ≤ 0.5.11 \| All versions (No fix recorded)
- ollama ollama: 0.5.11
- ollama ollama/ollama: ≥ unspecified, ≤ latest
- PyPI ollama (PyPI): ≤ 0.5.11

## References

- <https://huntr.com/bounties/921ba5d4-f1d0-4c66-9764-4f72dffe7acd>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1975.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1975>
- <https://github.com/ollama/ollama>
- <https://github.com/pypa/advisory-database/tree/main/vulns/ollama/PYSEC-2025-145.yaml>
- <https://pkg.go.dev/vuln/GO-2025-3695>
- <https://github.com/advisories/GHSA-wrh5-cmwx-q2qr>

---

Data as of 2026-12-05T18:39:30.093Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
