# CVE-2025-15514: Ollama null pointer dereference in multi-modal image processing

Source: https://junglewise.ai/threats/cve-2025-15514-ollama-null-pointer-dereference-in-multi-modal-image-processing  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-01-12. Updated: 2026-06-30  
License: CC BY 4.0 with a link back

CVE-2025-15514 · Severity: high · CVSS 7.5 · Published 2026-01-12

Ollama, a tool used to run large language models locally, is vulnerable to a flaw that allows an attacker to crash the service. By sending a specially crafted image through the chat interface, an attacker can cause the application to stop responding to all users. This results in a total service outage until the software is manually restarted.

Technologies: [Ollama](https://junglewise.ai/threats/technologies/ollama), [Red Hat OpenShift AI (RHOAI)](https://junglewise.ai/threats/technologies/openshift-ai-rhoai). Vendors: [Ollama](https://junglewise.ai/threats/vendors/ollama), [Red Hat](https://junglewise.ai/threats/vendors/red-hat).

## Quick answers

**Is CVE-2025-15514 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-15514 being exploited in the wild.

**How severe is CVE-2025-15514?** High severity, with a CVSS score of 7.5, published 12 January 2026.

**Which products and versions are affected?** Ollama 0.11.5-rc0 through 0.13.5.

**Is there a fix for CVE-2025-15514?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2025-15514 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2025-15514?** Check whether you run Ollama or Red Hat OpenShift AI (RHOAI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A null pointer dereference vulnerability exists in Ollama's multi-modal image processing via the /api/chat endpoint. The application fails to validate that base64-encoded image data represents valid media before passing it to the mtmd_helper_bitmap_init_from_buf function. This function returns NULL for malformed input, which is subsequently dereferenced without a check, causing a segmentation fault. A remote, unauthenticated attacker can exploit this by sending malformed base64 data to crash the runner process. The vulnerability affects versions 0.11.5-rc0 through 0.13.5.

## Affected products

- Ollama Ollama 0.11.5-rc0 through 0.13.5
- Red Hat Red Hat OpenShift AI (RHOAI)

## Timeline

- 2026-01-12: disclosed
- 2026-01-12: advisory

## References

- [https://https//github.com/ollama/ollama](https://https//github.com/ollama/ollama)
- [https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0](https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0)
- [https://ollama.com/](https://ollama.com/)
- [https://www.vulncheck.com/advisories/ollama-multi-modal-image-processing-null-pointer-dereference](https://www.vulncheck.com/advisories/ollama-multi-modal-image-processing-null-pointer-dereference)
- [https://access.redhat.com/security/cve/CVE-2025-15514](https://access.redhat.com/security/cve/CVE-2025-15514)
- [https://bugzilla.redhat.com/show_bug.cgi?id=2428828](https://bugzilla.redhat.com/show_bug.cgi?id=2428828)
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15514.json](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15514.json)

## Related threats

- [Ollama server-side request forgery in Pull API](https://junglewise.ai/threats/cve-2026-108836-a-vulnerability-has-been-found-in-ollama-up-to-0-34-1-the)
- [Ollama authorization bypass in experimental agent Bash tool approval](https://junglewise.ai/threats/cve-2026-102697-ollama-versions-0-14-0-before-0-31-2-contain-an-incorrect)
- [Ollama integer overflow in GGUF decoder](https://junglewise.ai/threats/cve-2026-86289-ollama-integer-overflow-in-gguf-decoder)
- [Ollama unvalidated redirect in model blob downloads](https://junglewise.ai/threats/cve-2026-85180-ollama-unvalidated-redirect-in-model-blob-downloads)
- [Ollama uncontrolled memory allocation in GGUF metadata parser](https://junglewise.ai/threats/cve-2026-65315-ollama-uncontrolled-memory-allocation-in-gguf-metadata-parser)
