CVE-2025-15514 Ollama Multi-Modal Model Image Processing NULL Pointer Dereference
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
4 packages: 1 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat openshift ai | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| ollama | = 0.11.5; = 0.11.5-rc0; = 0.11.5-rc1; = 0.11.5-rc2 +5 more | after 0.13.5 | Fixed |
| redhat ansible automation platform | = 2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ollama | >= v0.11.5-rc0, <= 0.13.5 | No fix listed |
| redhat ansible automation platform | = 2 | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| redhat/rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| ollama | >= 0.11.6, <= 0.13.5 | No fix listed |
| ollama | = 0.11.5 | No fix listed |
| ollama | = 0.11.5-rc0 | No fix listed |
| ollama | = 0.11.5-rc1 | No fix listed |
| ollama | = 0.11.5-rc2 | No fix listed |
| ollama | = 0.11.5-rc3 | No fix listed |
| ollama | = 0.11.5-rc4 | No fix listed |
| ollama | = 0.11.5-rc5 | No fix listed |
References
- huntr.com exploit patch technical-description third-party-advisory
- ollama.com product
- https product
- www.vulncheck.com third-party-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2428828 issue-tracking
- security.access.redhat.com
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-2400 third-party-advisory