CVE-2025-15514

Ollama Multi-Modal Model Image Processing NULL Pointer Dereference

HIGH
7.5
CVSS Score
Published: January 12, 2026 at 11:03 PM UTC
Updated: August 17, 2026 at 07:16 PM UTC
2 products affected across 2 vendorsOllamaOpenShift AI

Using Ollama by Ollama?

Get instant alerts when new vulnerabilities affect Ollama - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.8%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.11.5 ≤ v ≤ 0.13.50.11.6 ≤ v ≤ 0.13.5v0.11.5-rc0 ≤ v ≤ 0.13.50.11.50.11.5 rc00.11.5 rc10.11.5 rc20.11.5 rc30.11.5 rc40.11.5 rc50.11.5-rc0
All versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (7)

Technical DescriptionExploitPatchThird Party Advisory
Source: cverecord
https://huntr.com/bounties/172df98b-07cd-41ea-a628-366f8cd525c0
Product
Source: cverecord
https://ollama.com/
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/security/cve/CVE-2025-15514
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://bugzilla.redhat.com/show_bug.cgi?id=2428828

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHredhat-SADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-395

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card