# CVE-2025-15514: Ollama Multi-Modal Model Image Processing NULL Pointer Dereference

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-12T23:03:52.922Z
- Modified: 2026-09-16T12:04:18.135Z
- Weaknesses: CWE-395
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Ollama Ollama: from v0.11.5-rc0 up to 0.13.5; from 0.11.6 up to 0.13.5; 0.11.5
- ansible-automation-platform-24/de-minimal-rhel8: no versions given
- ansible-automation-platform-24/de-minimal-rhel9: no versions given
- ansible-automation-platform-24/de-supported-rhel8: no versions given
- ansible-automation-platform-24/de-supported-rhel9: no versions given
- ansible-automation-platform-24/ee-minimal-rhel8: no versions given
- ansible-automation-platform-24/ee-minimal-rhel9: no versions given
- ansible-automation-platform-24/ee-supported-rhel8: no versions given
- ansible-automation-platform-24/ee-supported-rhel9: no versions given
- ansible-automation-platform-24/lightspeed-rhel8: no versions given
- ansible-automation-platform-24/platform-resource-runner-rhel8: no versions given
- ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8: no versions given
- ansible-automation-platform-25/ansible-dev-tools-rhel8: no versions given
- ansible-automation-platform-25/de-minimal-rhel8: no versions given
- ansible-automation-platform-25/de-minimal-rhel9: no versions given
- ansible-automation-platform-25/de-supported-rhel8: no versions given
- ansible-automation-platform-25/de-supported-rhel9: no versions given
- ansible-automation-platform-25/ee-cloud-services-rhel9: no versions given
- ansible-automation-platform-25/ee-minimal-rhel8: no versions given
- ansible-automation-platform-25/ee-minimal-rhel9: no versions given
- ansible-automation-platform-25/ee-supported-rhel8: no versions given
- ansible-automation-platform-25/ee-supported-rhel9: no versions given
- ansible-automation-platform-25/lightspeed-rhel8: no versions given
- ansible-automation-platform-25/platform-resource-runner-rhel8: no versions given
- ansible-automation-platform-26/ansible-dev-tools-rhel9: no versions given
- ansible-automation-platform-26/de-minimal-rhel9: no versions given
- ansible-automation-platform-26/de-supported-rhel9: no versions given
- ansible-automation-platform-26/ee-minimal-rhel9: no versions given
- ansible-automation-platform-26/ee-supported-rhel9: no versions given
- ansible-automation-platform-26/lightspeed-rhel9: no versions given
- ansible-automation-platform-26/mcp-tools-rhel9: no versions given
- ansible-automation-platform-26/platform-resource-runner-rhel9: no versions given
- ansible-automation-platform/ee-minimal-rhel8: no versions given
- ansible-automation-platform/ee-minimal-rhel9: no versions given
- ansible-automation-platform-tech-preview/ansible-devspaces-rhel9: no versions given
- rhoai/odh-trustyai-ragas-lls-provider-dsp-rhel9: no versions given

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0> (exploit, patch, technical-description, third-party-advisory)
- <https://ollama.com/> (product)
- <https://https://github.com/ollama/ollama> (product)
- <https://www.vulncheck.com/advisories/ollama-multi-modal-image-processing-null-pointer-dereference> (third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-15514> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2428828> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15514.json>

## Sources

- CVE List: [CVE-2025-15514](https://www.cve.org/CVERecord?id=CVE-2025-15514), CVE Terms of Use, modified 2026-09-16
- NVD: [CVE-2025-15514](https://nvd.nist.gov/vuln/detail/CVE-2025-15514), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2025-15514 · Whole record: https://cve.day/CVE-2025-15514.json · Rebuilt by cve.day 2026-11-25T22:59:10.511Z
