An issue was discovered in Ollama before 0.1.46.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.
Summary
An issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a malformed GGUF file containing just 4 bytes starting with the GGUF custom magic header. By leveraging a custom Modelfile that includes a FROM statement pointing to the attacker-controlled blob file, the attacker can crash the application through the CreateModel route, leading to a segmentation fault (signal SIGSEGV: segmentation violation).
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 |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | github.com/ollama/ollama (Go) | before 0.1.46 | 0.1.46 | Patch available | GHSA-95j2-w8x7-hm88 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- github.com/ollama/ollama (Go) Vendor— Affected before 0.1.46 Fixed in 0.1.46 Patch available GHSA-95j2-w8x7-hm88
Remediation
- Fix · GHSA-95j2-w8x7-hm88 github.com/ollama/ollama (Go) Fixed in 0.1.46 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-39720
- 2026-10-03 Alias added: GHSA-95j2-w8x7-hm88
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-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-01720 Improper Validation of Array Index in ollama/ollama CVSS 3.0HIGH 7.5
- TI-2025-00256 Divide By Zero in ollama/ollama CVSS 3.1HIGH 7.5
Sources
- CVE-2024-39720 · CVE Program
- CVE-2024-39720 · NVD
- FIRST EPSS
- GHSA-95j2-w8x7-hm88 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences