Improper Validation of Array Index in ollama/ollama
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-129 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ollama | ollama/ollama | up to latest | — | No fix listed | CNA |
| — | github.com/ollama/ollama (Go) | up to 0.5.11 | — | No fix listed | GHSA-wrh5-cmwx-q2qr |
- ollama/ollama Vendorollama Affected up to latest Fixed in — No fix listed CNA
- github.com/ollama/ollama (Go) Vendor— Affected up to 0.5.11 Fixed in — No fix listed GHSA-wrh5-cmwx-q2qr
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Ansible Automation Platform 2
Timeline
- 2026-10-02 Threatist record created from CVE-2025-1975
- 2026-10-03 Alias added: GHSA-wrh5-cmwx-q2qr
References
More Ollama vulnerabilities
- TI-2024-24572 Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex… CVSS 3.1HIGH 8.8
- TI-2025-14153 Ollama Multi-Modal Model Image Processing NULL Pointer Dereference CVSS 4.0HIGH 8.7
- TI-2024-26641 An issue was discovered in Ollama before 0.1.46. CVSS 3.1HIGH 8.2
- TI-2025-41098 An issue in ollama v.0.12.10 allows a remote attacker to cause a denial of service via… CVSS 3.1HIGH 7.5
- TI-2025-41097 An issue in ollama v.0.12.10 allows a remote attacker to cause a denial of service via the GGUF decoder CVSS 3.1HIGH 7.5
- TI-2025-00256 Divide By Zero in ollama/ollama CVSS 3.1HIGH 7.5
Sources
- CVE-2025-1975 · CVE Program
- CVE-2025-1975 · NVD
- FIRST EPSS
- GHSA-wrh5-cmwx-q2qr · GitHub Advisory Database · CC BY 4.0
- CVE-2025-1975 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences