Skip to main content

Ollama CVE-2025-15514

HIGH
Use of NullPointerException Catch to Detect NULL Pointer Dereference (CWE-395)
2026-01-12 disclosure@vulncheck.com
8.7
CVSS 4.0 · Vendor: vulncheck
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V16 - Security Logging and Error Handling NullPointerException catch
This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv5 – Jun 30, 2026

Denial of service in Ollama's multi-modal image processing (versions 0.11.5-rc0 through 0.13.5) lets remote attackers crash the model runner by POSTing crafted base64 image data to the /api/chat endpoint. The decoded data is passed to mtmd_helper_bitmap_init_from_buf without validating that it is valid media; the function returns NULL on malformed input and the unchecked pointer is dereferenced, triggering a segmentation fault that takes the model offline for all users until restart. Rated CVSS 4.0 8.7 (availability-only impact); publicly available exploit code exists via a Huntr bounty, but EPSS is low (0.09%, 25th percentile) and it is not on CISA KEV.

Earlier versions of this analysis (4)
v4 Jun 30, 2026 - 06:14 cvss changed CVSS 8.7

Denial of service in Ollama 0.11.5-rc0 through 0.13.5 lets a remote attacker crash the model runner by posting crafted base64 image data to the /api/chat endpoint of a server running a multi-modal (vision) model. The decoded data is passed to mtmd_helper_bitmap_init_from_buf without checking its NULL return, so malformed media triggers a NULL pointer dereference and segmentation fault, taking the model offline for all users until restart. Publicly available exploit code exists (huntr bounty); EPSS is low (0.09%) and the issue is not in CISA KEV.

v3 Jun 30, 2026 - 06:13 cvss changed CVSS 8.7

Denial of service in Ollama versions 0.11.5-rc0 through 0.13.5 lets a remote attacker crash the model runner by posting malformed base64 image data to the /api/chat multi-modal endpoint. Because the code dereferences a NULL return from mtmd_helper_bitmap_init_from_buf without validation, a single crafted request segfaults the runner and makes the served model unavailable to all users until restart. Publicly available exploit code exists (huntr bounty report), though EPSS is low (0.09%, 25th percentile) and it is not on CISA KEV.

v2 Jun 30, 2026 - 06:13 cvss changed CVSS 8.7

Denial of service in Ollama 0.11.5-rc0 through 0.13.5 lets remote clients crash the model runner by submitting malformed base64 image data to the multi-modal /api/chat endpoint. Because mtmd_helper_bitmap_init_from_buf returns NULL for invalid media and the result is dereferenced unchecked, a single crafted request triggers a segmentation fault that takes the model offline for all users until restart. Publicly available exploit code exists (huntr bounty report); EPSS is low (0.09%) and the issue is not on CISA KEV, so this is a reliability/availability problem rather than a code-execution threat.

v1 Mar 12, 2026 - 21:54 CVSS 7.5

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. [CVSS 7.5 HIGH]

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Know when Ollama gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 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
vuln.today AI 7.5 HIGH

Unauthenticated low-complexity network request crashes the runner with availability-only impact, so PR:N/UI:N/A:H and C:N/I:N; AV:N reflects the API's network reachability when exposed.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.5 HIGH

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

7
Analysis Updated
Jun 30, 2026 - 06:14 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 30, 2026 - 06:14 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 30, 2026 - 06:13 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 06:13 vuln.today
v2 - CVSS changed
CVSS changed
Jun 30, 2026 - 03:23 NVD
7.5 (HIGH) 8.7 (HIGH)
PoC Detected
Jan 21, 2026 - 17:52 vuln.today
Public exploit code
CVE Published
Jan 12, 2026 - 23:15 nvd
HIGH 7.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Ollama, an open-source model inference platform, is vulnerable to remote denial-of-service attacks in versions 0.11.5-rc0 through 0.13.5. An attacker can crash the model runner by posting malformed image data to the /api/chat endpoint, taking the inference service offline for all users until manual restart. Publicly available exploit code exists, though real-world exploitation risk remains low (EPSS 0.1%), and organizations running affected versions should prioritize network access controls and upgrade planning.

Recommended Action

Within 24 hours: Identify all Ollama deployments running versions 0.11.5-rc0 through 0.13.5 and assess their exposure to untrusted networks. Within 7 days: Deploy network-level restrictions to the /api/chat endpoint via firewall or API gateway to allow only trusted internal sources, and begin testing upgrades to Ollama versions prior to 0.11.5-rc0 or later than 0.13.5. Within 30 days: Complete upgrade to a non-vulnerable version or confirm persistent rate limiting and request validation are in place.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict network access to /api/chat endpoint via firewall or API gateway to trusted internal sources only; (2) implement request-level rate limiting and payload size validation for image data; (3) upgrade to Ollama versions prior to 0.11.5-rc0 (e.g., 0.11.4) or later than 0.13.5; (4) enable request logging to detect exploitation attempts; (5) monitor model runner processes for unexpected crashes or service restarts.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:ollama:ollama:*:-:*:*:*:*:*:*
cpe:2.3:a:ollama:ollama:0.11.5:-:*:*:*:*:*:*
cpe:2.3:a:ollama:ollama:0.11.5:rc0:*:*:*:*:*:*
cpe:2.3:a:ollama:ollama:0.11.5:rc1:*:*:*:*:*:*
cpe:2.3:a:ollama:ollama:0.11.5:rc2:*:*:*:*:*:*
cpe:2.3:a:ollama:ollama:0.11.5:rc3:*:*:*:*:*:*
cpe:2.3:a:ollama:ollama:0.11.5:rc4:*:*:*:*:*:*
cpe:2.3:a:ollama:ollama:0.11.5:rc5:*:*:*:*:*:*

More in Ollama

View all
CVE-2024-37032 HIGH POC
8.8 May 31

Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path,

CVE-2026-42249 HIGH POC
7.7 Apr 29

Remote code execution in Ollama for Windows (versions 0.12.10 through 0.17.5) lets an attacker who can influence HTTP up

CVE-2026-42248 HIGH POC
7.7 Apr 29

Silent auto-update code execution in Ollama for Windows (versions 0.12.10 through 0.17.5) stems from an update-verificat

CVE-2026-65315 HIGH POC
8.7 Jul 21

Remote denial of service in Ollama (HEAD f0078ae) allows unauthenticated attackers to crash the entire server by uploadi

CVE-2024-39720 HIGH POC
8.2 Oct 31

An issue was discovered in Ollama before 0.1.46. Rated high severity (CVSS 8.2), this vulnerability is remotely exploita

CVE-2025-1975 HIGH POC
7.5 May 16

A vulnerability in the Ollama server version 0.5.11 allows a malicious user to cause a Denial of Service (DoS) attack by

CVE-2026-5757 HIGH POC
7.5 Jun 26

Information disclosure in Ollama's model quantization engine (confirmed affected in v0.13.5) allows remote, unauthentica

CVE-2025-0317 HIGH POC
7.5 Mar 20

A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model

CVE-2025-66960 HIGH POC
7.5 Jan 21

An issue in ollama v.0.12.10 allows a remote attacker to cause a denial of service via the fs/ggml/gguf.go, function rea

CVE-2025-66959 HIGH POC
7.5 Jan 21

An issue in ollama v.0.12.10 allows a remote attacker to cause a denial of service via the GGUF decoder [CVSS 7.5 HIGH]

CVE-2024-8063 HIGH POC
7.5 Mar 20

A divide by zero vulnerability exists in ollama/ollama version v0.3.3. Rated high severity (CVSS 7.5), this vulnerabilit

CVE-2025-0312 HIGH POC
7.5 Mar 20

A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to create a customized GGUF model file that,

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy