PT-2025-12118 · Ollama · Ollama
Published
2025-03-20
·
Updated
2025-04-02
·
CVE-2024-12055
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Ollama versions <=0.3.14
Description
A malicious user can create a customized gguf model file that can be uploaded to the public Ollama server, causing it to crash and 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.
Recommendations
For Ollama versions <=0.3.14, update to a version later than 0.3.14 to resolve the issue. As a temporary workaround, consider restricting access to the gguf model file upload feature to minimize the risk of exploitation.
Exploit
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ollama