PT-2026-2320 · Ollama · Ollama
Bob14
+1
·
Published
2026-01-12
·
Updated
2026-01-21
·
CVE-2025-15514
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Ollama versions 0.11.5-rc0 through 0.13.5
Description
Ollama contains a flaw due to insufficient validation of base64-encoded image data. Specifically, when processing image data through the
/api/chat endpoint, the application does not verify the validity of the decoded media before passing it to the mtmd helper bitmap init from buf function. If this function returns NULL, indicating malformed input, the code proceeds to dereference the NULL pointer, leading to a segmentation fault and a denial of service. This can cause the model to become unavailable until the service is restarted. The vulnerability exists in the multi-modal model image processing functionality.Recommendations
Update Ollama to a version newer than 0.13.5.
Exploit
Fix
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ollama