Null Pointer Dereference Vulnerability in Ollama Multi-Modal Model Image Processing
CVE-2025-15514
Key Information:
Badges
What is CVE-2025-15514?
Ollama versions 0.11.5-rc0 to 0.13.5 have a null pointer dereference vulnerability in their multi-modal model’s image processing capabilities. The issue arises when the application processes base64-encoded image data via the /api/chat endpoint. It fails to verify that the decoded data constitutes valid media before it is sent to the mtmd_helper_bitmap_init_from_buf function, which may return NULL for erroneous input. The lack of validation leads to a scenario where an attacker can submit specially crafted base64 image data that decodes to invalid media, resulting in a segmentation fault. This exploitation can cause the runner process to crash, creating a denial of service condition affecting all users until the service is restarted.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
Ollama v0.11.5-rc0 <= 0.13.5
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved
