Out-of-bounds Read in Ollama
CVE-2024-12055
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.
Vulnerability class: Buffer Overflow
EPSS: 0.008 (53.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Ollama
- Ollama Ollama/ollama — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@huntr.dev (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-12055?
- CVE-2024-12055 is a high-severity vulnerability in Ollama, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2025-03-20.
- How severe is CVE-2024-12055?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2024-12055 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.