CVE-2025-15514 in Ollama
Ollama 0.11.5-rc0 through current version 0.13.5 contain a null pointer dereference vulnerability in the multi-modal model image processing functionality. When processing base64-encoded image data via the /api/chat endpoint, the application fails to validate that the decoded data represents valid media before passin...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Ollama | Ollama | 0.11.5 ≥ 0.11.6, ≤ 0.13.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Ollama 0.11.5-rc0 through current version 0.13.5 contain a null pointer dereference vulnerability in the multi-modal model image processing functionality. When processing base64-encoded image data via the /api/chat endpoint, the application fails to validate that the decoded data represents valid media before passing it to the mtmd_helper_bitmap_init_from_buf function. This function can return NULL for malformed input, but the code does not check this return value before dereferencing the pointer in subsequent operations. A remote attacker can exploit this by sending specially crafted base64 image data that decodes to invalid media, causing a segmentation fault and crashing the runner process. This results in a denial of service condition where the model becomes unavailable to all users until the service is restarted.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-15514 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-277286-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-01-12 |
| Last modified | 2026-08-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-395: CWE-395
Analysis AI-written, not human-reviewed
Ollama versions 0.11.5-rc0 through 0.13.5 are vulnerable to a null pointer dereference in the multi-modal model image processing functionality, which can be exploited by sending specially crafted base64-encoded image data to the /api/chat endpoint.
The vulnerability arises from the application's failure to validate the decoded base64 image data before processing it with the mtmd_helper_bitmap_init_from_buf function. An attacker can exploit this by sending a maliciously crafted image to the /api/chat endpoint, potentially leading to a crash or arbitrary code execution.
Questions
What is CVE-2025-15514?
Ollama versions 0.11.5-rc0 through 0.13.5 are vulnerable to a null pointer dereference in the multi-modal model image processing functionality, which can be exploited by sending specially crafted base64-encoded image data to the /api/chat endpoint.
What is the CVSS score for CVE-2025-15514?
CVE-2025-15514 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.1%.
Is CVE-2025-15514 actively exploited?
No confirmed active exploitation of CVE-2025-15514 as of 2026-09-25.
How do I remediate CVE-2025-15514?
Priority: HIGH.
What systems are affected by CVE-2025-15514?
CVE-2025-15514 affects Ollama Ollama.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Ollama","product":"Ollama","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-17.