CVE-2024-12055
HIGH 7.5CVSS 3.1Ollama Allows Out-of-Bounds Read
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.
- Published
- 20 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-125
- Also known as
- GHSA-89qx-m49c-8crfGO-2025-3558
- Sources
- NVDJSONOSV GHSA-89qx-m49c-8crfJSONOSV GO-2025-3558JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ollama | ollamacpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* |
<= 0.3.14 | |
| OSV | Go | github.com/ollama/ollama | <= 0.3.14 | |
| OSV | Go | github.com/ollama/ollama | all versions |
References
- https://huntr.com/bounties/7b111d55-8215-4727-8807-c5ed4cf1bfbe · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-12055 · ADVISORY
- https://github.com/ollama/ollama · PACKAGE
- https://github.com/advisories/GHSA-89qx-m49c-8crf · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Mar 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Mar 2025)