CVE-2024-12055
DoS using malicious gguf model file in ollama/ollama
Reported by @huntr_ai · Published March 20, 2025
github.com/ollama/ollama is fixed in 0.3.14 (Go Modules)
A vulnerability in Ollama versions <=0.3.14 allows a malicious user to create a customized gguf model file that can be uploaded to the public Ollama server. When the server processes this malicious model, it crashes, leading to a Denial of Service (DoS) attack. The root cause of the issue is an out-of-bounds read in the gguf.go file.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/ollama/ollama | Go Modules | 0.3.14 |
| mods | Wolfi | 1.8.1-r14 |
| mods | Chainguard | 1.8.1-r14 |
| ollama | ollama | 0.3.14 |
| ollama/ollama | ollama | latest |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ollama | ollama/ollama | unspecified |
| ollama | ollama/ollama | * |
Timeline
- Mar 20, 2025 CVE Published
- Mar 20, 2025 EPSS Score (30 in total, the first dated here)
- Mar 20, 2025 Coalition ESS Score (26 in total, the first dated here)
- Jun 1, 2026 Security Advisory (2 in total, the first dated here)
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-12055
vulnetix vdb fixes CVE-2024-12055
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-12055/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart